#include"dao_QtNetwork.h"

#ifdef __cplusplus
extern "C"{
#endif

/*  qnetworkrequest.h */


static DaoNumItem dao_Attribute_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Attribute_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Attribute_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Attribute_Typer = 
{ "Attribute", NULL, 
  dao_Attribute_Nums,
  dao_Attribute_Meths, 
  { 0 },
  { 0 },
  Dao_Attribute_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_Attribute_Typer = & Attribute_Typer;

/*  qftp.h */


static DaoNumItem dao_Command_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Command_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Command_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Command_Typer = 
{ "Command", NULL, 
  dao_Command_Nums,
  dao_Command_Meths, 
  { 0 },
  { 0 },
  Dao_Command_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_Command_Typer = & Command_Typer;

/*  qhttp.h */


static DaoNumItem dao_ConnectionMode_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_ConnectionMode_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_ConnectionMode_Delete( void *self )
{
	free( self );
}

static DaoTypeBase ConnectionMode_Typer = 
{ "ConnectionMode", NULL, 
  dao_ConnectionMode_Nums,
  dao_ConnectionMode_Meths, 
  { 0 },
  { 0 },
  Dao_ConnectionMode_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_ConnectionMode_Typer = & ConnectionMode_Typer;

/*  qhostinfo.h */


static DaoNumItem dao_HostInfoError_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_HostInfoError_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_HostInfoError_Delete( void *self )
{
	free( self );
}

static DaoTypeBase HostInfoError_Typer = 
{ "HostInfoError", NULL, 
  dao_HostInfoError_Nums,
  dao_HostInfoError_Meths, 
  { 0 },
  { 0 },
  Dao_HostInfoError_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_HostInfoError_Typer = & HostInfoError_Typer;

/*  qnetworkrequest.h */


static DaoNumItem dao_KnownHeaders_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_KnownHeaders_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_KnownHeaders_Delete( void *self )
{
	free( self );
}

static DaoTypeBase KnownHeaders_Typer = 
{ "KnownHeaders", NULL, 
  dao_KnownHeaders_Nums,
  dao_KnownHeaders_Meths, 
  { 0 },
  { 0 },
  Dao_KnownHeaders_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_KnownHeaders_Typer = & KnownHeaders_Typer;

/*  qlocalsocket.h */


static DaoNumItem dao_LocalSocketError_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_LocalSocketError_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_LocalSocketError_Delete( void *self )
{
	free( self );
}

static DaoTypeBase LocalSocketError_Typer = 
{ "LocalSocketError", NULL, 
  dao_LocalSocketError_Nums,
  dao_LocalSocketError_Meths, 
  { 0 },
  { 0 },
  Dao_LocalSocketError_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_LocalSocketError_Typer = & LocalSocketError_Typer;

/*  qlocalsocket.h */


static DaoNumItem dao_LocalSocketState_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_LocalSocketState_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_LocalSocketState_Delete( void *self )
{
	free( self );
}

static DaoTypeBase LocalSocketState_Typer = 
{ "LocalSocketState", NULL, 
  dao_LocalSocketState_Nums,
  dao_LocalSocketState_Meths, 
  { 0 },
  { 0 },
  Dao_LocalSocketState_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_LocalSocketState_Typer = & LocalSocketState_Typer;

/*  qnetworkaccessmanager.h */


static DaoNumItem dao_NetworkAccessibility_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_NetworkAccessibility_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_NetworkAccessibility_Delete( void *self )
{
	free( self );
}

static DaoTypeBase NetworkAccessibility_Typer = 
{ "NetworkAccessibility", NULL, 
  dao_NetworkAccessibility_Nums,
  dao_NetworkAccessibility_Meths, 
  { 0 },
  { 0 },
  Dao_NetworkAccessibility_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_NetworkAccessibility_Typer = & NetworkAccessibility_Typer;

/*  qnetworkreply.h */


static DaoNumItem dao_NetworkError_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_NetworkError_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_NetworkError_Delete( void *self )
{
	free( self );
}

static DaoTypeBase NetworkError_Typer = 
{ "NetworkError", NULL, 
  dao_NetworkError_Nums,
  dao_NetworkError_Meths, 
  { 0 },
  { 0 },
  Dao_NetworkError_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_NetworkError_Typer = & NetworkError_Typer;

/*  qabstractsocket.h */


static DaoNumItem dao_OpenMode_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_OpenMode_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_OpenMode_Delete( void *self )
{
	free( self );
}

static DaoTypeBase OpenMode_Typer = 
{ "OpenMode", NULL, 
  dao_OpenMode_Nums,
  dao_OpenMode_Meths, 
  { 0 },
  { 0 },
  Dao_OpenMode_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_OpenMode_Typer = & OpenMode_Typer;

/*  qnetworkaccessmanager.h */


static DaoNumItem dao_Operation_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Operation_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Operation_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Operation_Typer = 
{ "Operation", NULL, 
  dao_Operation_Nums,
  dao_Operation_Meths, 
  { 0 },
  { 0 },
  Dao_Operation_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_Operation_Typer = & Operation_Typer;

/*  qnetworkrequest.h */


static DaoNumItem dao_Priority_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_Priority_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_Priority_Delete( void *self )
{
	free( self );
}

static DaoTypeBase Priority_Typer = 
{ "Priority", NULL, 
  dao_Priority_Nums,
  dao_Priority_Meths, 
  { 0 },
  { 0 },
  Dao_Priority_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_Priority_Typer = & Priority_Typer;

/*  qabstractnetworkcache.h */


static DaoNumItem dao_QAbstractNetworkCache_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QAbstractNetworkCache_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractNetworkCache_QAbstractNetworkCache_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractNetworkCache_QAbstractNetworkCache( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractNetworkCache_cacheSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractNetworkCache_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractNetworkCache_data( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractNetworkCache_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractNetworkCache_metaData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractNetworkCache_prepare( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractNetworkCache_remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractNetworkCache_updateMetaData( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QAbstractNetworkCache_Meths[] = 
{
  { dao_QAbstractNetworkCache_qobject_cast, "qobject_cast( object : QObject )=>QAbstractNetworkCache" },
  { dao_QAbstractNetworkCache_QAbstractNetworkCache_dao_2, "QAbstractNetworkCache( dd : QAbstractNetworkCachePrivate, parent : QObject )=>QAbstractNetworkCache" },
  { dao_QAbstractNetworkCache_QAbstractNetworkCache, "QAbstractNetworkCache( parent : QObject|null=null )=>QAbstractNetworkCache" },
  { dao_QAbstractNetworkCache_cacheSize, "cacheSize( self : QAbstractNetworkCache )=>double" },
  { dao_QAbstractNetworkCache_clear, "clear( self : QAbstractNetworkCache )" },
  { dao_QAbstractNetworkCache_data, "data( self : QAbstractNetworkCache, url : QUrl )=>QIODevice" },
  { dao_QAbstractNetworkCache_insert, "insert( self : QAbstractNetworkCache, device : QIODevice )" },
  { dao_QAbstractNetworkCache_metaData, "metaData( self : QAbstractNetworkCache, url : QUrl )=>QNetworkCacheMetaData" },
  { dao_QAbstractNetworkCache_prepare, "prepare( self : QAbstractNetworkCache, metaData : QNetworkCacheMetaData )=>QIODevice" },
  { dao_QAbstractNetworkCache_remove, "remove( self : QAbstractNetworkCache, url : QUrl )=>int" },
  { dao_QAbstractNetworkCache_updateMetaData, "updateMetaData( self : QAbstractNetworkCache, metaData : QNetworkCacheMetaData )" },
  { NULL, NULL }
};
static void Dao_QAbstractNetworkCache_Delete( void *self )
{
	delete (QAbstractNetworkCache*) self;
}
void* dao_cast_QAbstractNetworkCache_to_QObject( void *data )
{
	return (QObject*)(QAbstractNetworkCache*)data;
}

static DaoTypeBase QAbstractNetworkCache_Typer = 
{ "QAbstractNetworkCache", NULL, 
  dao_QAbstractNetworkCache_Nums,
  dao_QAbstractNetworkCache_Meths, 
  { dao_QObject_Typer, 0 },
  { dao_cast_QAbstractNetworkCache_to_QObject,0 },
  Dao_QAbstractNetworkCache_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QAbstractNetworkCache_Typer = & QAbstractNetworkCache_Typer;
static void dao_QAbstractNetworkCache_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QAbstractNetworkCache *to2 = qobject_cast<QAbstractNetworkCache*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QAbstractNetworkCache_Typer );
}
/* qabstractnetworkcache.h */
static void dao_QAbstractNetworkCache_QAbstractNetworkCache_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractNetworkCachePrivate* dd= (QAbstractNetworkCachePrivate*) DValue_CastCData( _p[0], dao_QAbstractNetworkCachePrivate_Typer );
  QObject* parent= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
	DaoCxx_QAbstractNetworkCache *_self = DaoCxx_QAbstractNetworkCache_New( *dd, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qabstractnetworkcache.h */
static void dao_QAbstractNetworkCache_QAbstractNetworkCache( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QAbstractNetworkCache *_self = DaoCxx_QAbstractNetworkCache_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qabstractnetworkcache.h */
static void dao_QAbstractNetworkCache_cacheSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractNetworkCache* self= (QAbstractNetworkCache*) DValue_CastCData( _p[0], dao_QAbstractNetworkCache_Typer );
  qint64 _cacheSize = self->cacheSize(  );
  DaoContext_PutDouble( _ctx, (double) _cacheSize );
}
/* qabstractnetworkcache.h */
static void dao_QAbstractNetworkCache_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractNetworkCache* self= (QAbstractNetworkCache*) DValue_CastCData( _p[0], dao_QAbstractNetworkCache_Typer );
  self->clear(  );
}
/* qabstractnetworkcache.h */
static void dao_QAbstractNetworkCache_data( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractNetworkCache* self= (QAbstractNetworkCache*) DValue_CastCData( _p[0], dao_QAbstractNetworkCache_Typer );
  QUrl* url= (QUrl*) DValue_CastCData( _p[1], dao_QUrl_Typer );
  QIODevice* _data = self->data( *url );
  DaoBase *dbase = DaoQt_Get_Wrapper( _data );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QIODevice_InitSS( (QIODevice*) _data );
    DaoContext_WrapCData( _ctx, (void*) _data, dao_QIODevice_Typer );
  }
}
/* qabstractnetworkcache.h */
static void dao_QAbstractNetworkCache_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractNetworkCache* self= (QAbstractNetworkCache*) DValue_CastCData( _p[0], dao_QAbstractNetworkCache_Typer );
  QIODevice* device= (QIODevice*) DValue_CastCData( _p[1], dao_QIODevice_Typer );
  self->insert( device );
}
/* qabstractnetworkcache.h */
static void dao_QAbstractNetworkCache_metaData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractNetworkCache* self= (QAbstractNetworkCache*) DValue_CastCData( _p[0], dao_QAbstractNetworkCache_Typer );
  QUrl* url= (QUrl*) DValue_CastCData( _p[1], dao_QUrl_Typer );
  QNetworkCacheMetaData _metaData = self->metaData( *url );
  DaoContext_PutCData( _ctx, (void*)new QNetworkCacheMetaData( _metaData ), dao_QNetworkCacheMetaData_Typer );
}
/* qabstractnetworkcache.h */
static void dao_QAbstractNetworkCache_prepare( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractNetworkCache* self= (QAbstractNetworkCache*) DValue_CastCData( _p[0], dao_QAbstractNetworkCache_Typer );
  QNetworkCacheMetaData* metaData= (QNetworkCacheMetaData*) DValue_CastCData( _p[1], dao_QNetworkCacheMetaData_Typer );
  QIODevice* _prepare = self->prepare( *metaData );
  DaoBase *dbase = DaoQt_Get_Wrapper( _prepare );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QIODevice_InitSS( (QIODevice*) _prepare );
    DaoContext_WrapCData( _ctx, (void*) _prepare, dao_QIODevice_Typer );
  }
}
/* qabstractnetworkcache.h */
static void dao_QAbstractNetworkCache_remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractNetworkCache* self= (QAbstractNetworkCache*) DValue_CastCData( _p[0], dao_QAbstractNetworkCache_Typer );
  QUrl* url= (QUrl*) DValue_CastCData( _p[1], dao_QUrl_Typer );
  bool _remove = self->remove( *url );
  DaoContext_PutInteger( _ctx, (int) _remove );
}
/* qabstractnetworkcache.h */
static void dao_QAbstractNetworkCache_updateMetaData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractNetworkCache* self= (QAbstractNetworkCache*) DValue_CastCData( _p[0], dao_QAbstractNetworkCache_Typer );
  QNetworkCacheMetaData* metaData= (QNetworkCacheMetaData*) DValue_CastCData( _p[1], dao_QNetworkCacheMetaData_Typer );
  self->updateMetaData( *metaData );
}

/*  qabstractnetworkcache.h */


static DaoNumItem dao_QAbstractNetworkCachePrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QAbstractNetworkCachePrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QAbstractNetworkCachePrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QAbstractNetworkCachePrivate_Typer = 
{ "QAbstractNetworkCachePrivate", NULL, 
  dao_QAbstractNetworkCachePrivate_Nums,
  dao_QAbstractNetworkCachePrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QAbstractNetworkCachePrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QAbstractNetworkCachePrivate_Typer = & QAbstractNetworkCachePrivate_Typer;

/*  qabstractsocket.h */


static DaoNumItem dao_QAbstractSocket_Nums[] =
{
  { "TcpSocket", DAO_INTEGER, QAbstractSocket::TcpSocket },
  { "UdpSocket", DAO_INTEGER, QAbstractSocket::UdpSocket },
  { "UnknownSocketType", DAO_INTEGER, QAbstractSocket::UnknownSocketType },
  { "IPv4Protocol", DAO_INTEGER, QAbstractSocket::IPv4Protocol },
  { "IPv6Protocol", DAO_INTEGER, QAbstractSocket::IPv6Protocol },
  { "UnknownNetworkLayerProtocol", DAO_INTEGER, QAbstractSocket::UnknownNetworkLayerProtocol },
  { "ConnectionRefusedError", DAO_INTEGER, QAbstractSocket::ConnectionRefusedError },
  { "RemoteHostClosedError", DAO_INTEGER, QAbstractSocket::RemoteHostClosedError },
  { "HostNotFoundError", DAO_INTEGER, QAbstractSocket::HostNotFoundError },
  { "SocketAccessError", DAO_INTEGER, QAbstractSocket::SocketAccessError },
  { "SocketResourceError", DAO_INTEGER, QAbstractSocket::SocketResourceError },
  { "SocketTimeoutError", DAO_INTEGER, QAbstractSocket::SocketTimeoutError },
  { "DatagramTooLargeError", DAO_INTEGER, QAbstractSocket::DatagramTooLargeError },
  { "NetworkError", DAO_INTEGER, QAbstractSocket::NetworkError },
  { "AddressInUseError", DAO_INTEGER, QAbstractSocket::AddressInUseError },
  { "SocketAddressNotAvailableError", DAO_INTEGER, QAbstractSocket::SocketAddressNotAvailableError },
  { "UnsupportedSocketOperationError", DAO_INTEGER, QAbstractSocket::UnsupportedSocketOperationError },
  { "UnfinishedSocketOperationError", DAO_INTEGER, QAbstractSocket::UnfinishedSocketOperationError },
  { "ProxyAuthenticationRequiredError", DAO_INTEGER, QAbstractSocket::ProxyAuthenticationRequiredError },
  { "SslHandshakeFailedError", DAO_INTEGER, QAbstractSocket::SslHandshakeFailedError },
  { "ProxyConnectionRefusedError", DAO_INTEGER, QAbstractSocket::ProxyConnectionRefusedError },
  { "ProxyConnectionClosedError", DAO_INTEGER, QAbstractSocket::ProxyConnectionClosedError },
  { "ProxyConnectionTimeoutError", DAO_INTEGER, QAbstractSocket::ProxyConnectionTimeoutError },
  { "ProxyNotFoundError", DAO_INTEGER, QAbstractSocket::ProxyNotFoundError },
  { "ProxyProtocolError", DAO_INTEGER, QAbstractSocket::ProxyProtocolError },
  { "UnknownSocketError", DAO_INTEGER, QAbstractSocket::UnknownSocketError },
  { "UnconnectedState", DAO_INTEGER, QAbstractSocket::UnconnectedState },
  { "HostLookupState", DAO_INTEGER, QAbstractSocket::HostLookupState },
  { "ConnectingState", DAO_INTEGER, QAbstractSocket::ConnectingState },
  { "ConnectedState", DAO_INTEGER, QAbstractSocket::ConnectedState },
  { "BoundState", DAO_INTEGER, QAbstractSocket::BoundState },
  { "ListeningState", DAO_INTEGER, QAbstractSocket::ListeningState },
  { "ClosingState", DAO_INTEGER, QAbstractSocket::ClosingState },
  { "LowDelayOption", DAO_INTEGER, QAbstractSocket::LowDelayOption },
  { "KeepAliveOption", DAO_INTEGER, QAbstractSocket::KeepAliveOption },
  { NULL, 0, 0 }
};
static void dao_QAbstractSocket_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_QAbstractSocket( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_QAbstractSocket_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_abort( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_atEnd( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_bytesAvailable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_bytesToWrite( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_canReadLine( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_close( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_connectToHost_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_connectToHost( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_connectToHostImplementation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_disconnectFromHost( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_disconnectFromHostImplementation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_error( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_flush( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_isSequential( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_isValid( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_localAddress( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_localPort( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_peerAddress( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_peerName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_peerPort( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_readBufferSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_readData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_readLineData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_setLocalAddress( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_setLocalPort( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_setPeerAddress( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_setPeerName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_setPeerPort( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_setReadBufferSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_setSocketDescriptor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_setSocketError( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_setSocketOption( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_setSocketState( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_socketDescriptor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_socketOption( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_socketType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_waitForBytesWritten( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_waitForConnected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_waitForDisconnected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_waitForReadyRead( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAbstractSocket_writeData( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QAbstractSocket_Meths[] = 
{
  { dao_QAbstractSocket_qobject_cast, "qobject_cast( object : QObject )=>QAbstractSocket" },
  { dao_QAbstractSocket_QAbstractSocket, "QAbstractSocket( socketType : int, dd : QAbstractSocketPrivate, parent : QObject|null=null )=>QAbstractSocket" },
  { dao_QAbstractSocket_QAbstractSocket_dao_2, "QAbstractSocket( socketType : int, parent : QObject )=>QAbstractSocket" },
  { dao_QAbstractSocket_abort, "abort( self : QAbstractSocket )" },
  { dao_QAbstractSocket_atEnd, "atEnd( self : QAbstractSocket )=>int" },
  { dao_QAbstractSocket_bytesAvailable, "bytesAvailable( self : QAbstractSocket )=>double" },
  { dao_QAbstractSocket_bytesToWrite, "bytesToWrite( self : QAbstractSocket )=>double" },
  { dao_QAbstractSocket_canReadLine, "canReadLine( self : QAbstractSocket )=>int" },
  { dao_QAbstractSocket_close, "close( self : QAbstractSocket )" },
  { dao_QAbstractSocket_connectToHost_dao_2, "connectToHost( self : QAbstractSocket, address : QHostAddress, port : int, mode : int = ReadWrite )" },
  { dao_QAbstractSocket_connectToHost, "connectToHost( self : QAbstractSocket, hostName : string, port : int, mode : int = ReadWrite )" },
  { dao_QAbstractSocket_connectToHostImplementation, "connectToHostImplementation( self : QAbstractSocket, hostName : string, port : int, mode : int = ReadWrite )" },
  { dao_QAbstractSocket_disconnectFromHost, "disconnectFromHost( self : QAbstractSocket )" },
  { dao_QAbstractSocket_disconnectFromHostImplementation, "disconnectFromHostImplementation( self : QAbstractSocket )" },
  { dao_QAbstractSocket_error, "error( self : QAbstractSocket )=>int" },
  { dao_QAbstractSocket_flush, "flush( self : QAbstractSocket )=>int" },
  { dao_QAbstractSocket_isSequential, "isSequential( self : QAbstractSocket )=>int" },
  { dao_QAbstractSocket_isValid, "isValid( self : QAbstractSocket )=>int" },
  { dao_QAbstractSocket_localAddress, "localAddress( self : QAbstractSocket )=>QHostAddress" },
  { dao_QAbstractSocket_localPort, "localPort( self : QAbstractSocket )=>int" },
  { dao_QAbstractSocket_peerAddress, "peerAddress( self : QAbstractSocket )=>QHostAddress" },
  { dao_QAbstractSocket_peerName, "peerName( self : QAbstractSocket )=>string" },
  { dao_QAbstractSocket_peerPort, "peerPort( self : QAbstractSocket )=>int" },
  { dao_QAbstractSocket_readBufferSize, "readBufferSize( self : QAbstractSocket )=>double" },
  { dao_QAbstractSocket_readData, "readData( self : QAbstractSocket, data : string, maxlen : double )=>double" },
  { dao_QAbstractSocket_readLineData, "readLineData( self : QAbstractSocket, data : string, maxlen : double )=>double" },
  { dao_QAbstractSocket_setLocalAddress, "setLocalAddress( self : QAbstractSocket, address : QHostAddress )" },
  { dao_QAbstractSocket_setLocalPort, "setLocalPort( self : QAbstractSocket, port : int )" },
  { dao_QAbstractSocket_setPeerAddress, "setPeerAddress( self : QAbstractSocket, address : QHostAddress )" },
  { dao_QAbstractSocket_setPeerName, "setPeerName( self : QAbstractSocket, name : string )" },
  { dao_QAbstractSocket_setPeerPort, "setPeerPort( self : QAbstractSocket, port : int )" },
  { dao_QAbstractSocket_setReadBufferSize, "setReadBufferSize( self : QAbstractSocket, size : double )" },
  { dao_QAbstractSocket_setSocketDescriptor, "setSocketDescriptor( self : QAbstractSocket, socketDescriptor : int, state : int = ConnectedState, openMode : int = ReadWrite )=>int" },
  { dao_QAbstractSocket_setSocketError, "setSocketError( self : QAbstractSocket, socketError : int )" },
  { dao_QAbstractSocket_setSocketOption, "setSocketOption( self : QAbstractSocket, option : int, value : QVariant )" },
  { dao_QAbstractSocket_setSocketState, "setSocketState( self : QAbstractSocket, state : int )" },
  { dao_QAbstractSocket_socketDescriptor, "socketDescriptor( self : QAbstractSocket )=>int" },
  { dao_QAbstractSocket_socketOption, "socketOption( self : QAbstractSocket, option : int )=>QVariant" },
  { dao_QAbstractSocket_socketType, "socketType( self : QAbstractSocket )=>int" },
  { dao_QAbstractSocket_state, "state( self : QAbstractSocket )=>int" },
  { dao_QAbstractSocket_waitForBytesWritten, "waitForBytesWritten( self : QAbstractSocket, msecs : int = 30000 )=>int" },
  { dao_QAbstractSocket_waitForConnected, "waitForConnected( self : QAbstractSocket, msecs : int = 30000 )=>int" },
  { dao_QAbstractSocket_waitForDisconnected, "waitForDisconnected( self : QAbstractSocket, msecs : int = 30000 )=>int" },
  { dao_QAbstractSocket_waitForReadyRead, "waitForReadyRead( self : QAbstractSocket, msecs : int = 30000 )=>int" },
  { dao_QAbstractSocket_writeData, "writeData( self : QAbstractSocket, data : string, len : double )=>double" },
  { NULL, NULL }
};
static void Dao_QAbstractSocket_Delete( void *self )
{
	delete (QAbstractSocket*) self;
}
void* dao_cast_QAbstractSocket_to_QIODevice( void *data )
{
	return (QIODevice*)(QAbstractSocket*)data;
}

static DaoTypeBase QAbstractSocket_Typer = 
{ "QAbstractSocket", NULL, 
  dao_QAbstractSocket_Nums,
  dao_QAbstractSocket_Meths, 
  { dao_QIODevice_Typer, 0 },
  { dao_cast_QAbstractSocket_to_QIODevice,0 },
  Dao_QAbstractSocket_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QAbstractSocket_Typer = & QAbstractSocket_Typer;
static void dao_QAbstractSocket_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QAbstractSocket *to2 = qobject_cast<QAbstractSocket*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QAbstractSocket_Typer );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_QAbstractSocket( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket::SocketType socketType= (QAbstractSocket::SocketType) _p[0]->v.i;
  QAbstractSocketPrivate* dd= (QAbstractSocketPrivate*) DValue_CastCData( _p[1], dao_QAbstractSocketPrivate_Typer );
  QObject* parent= (QObject*) DValue_CastCData( _p[2], dao_QObject_Typer );
	DaoCxx_QAbstractSocket *_self = DaoCxx_QAbstractSocket_New( socketType, *dd, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_QAbstractSocket_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket::SocketType socketType= (QAbstractSocket::SocketType) _p[0]->v.i;
  QObject* parent= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
	DaoCxx_QAbstractSocket *_self = DaoCxx_QAbstractSocket_New( socketType, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_abort( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  self->QAbstractSocket::abort(  );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_atEnd( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  bool _atEnd = self->QAbstractSocket::atEnd(  );
  DaoContext_PutInteger( _ctx, (int) _atEnd );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_bytesAvailable( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  qint64 _bytesAvailable = self->QAbstractSocket::bytesAvailable(  );
  DaoContext_PutDouble( _ctx, (double) _bytesAvailable );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_bytesToWrite( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  qint64 _bytesToWrite = self->QAbstractSocket::bytesToWrite(  );
  DaoContext_PutDouble( _ctx, (double) _bytesToWrite );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_canReadLine( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  bool _canReadLine = self->QAbstractSocket::canReadLine(  );
  DaoContext_PutInteger( _ctx, (int) _canReadLine );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_close( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  self->QAbstractSocket::close(  );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_connectToHost_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QHostAddress* address= (QHostAddress*) DValue_CastCData( _p[1], dao_QHostAddress_Typer );
  quint16 port= (quint16) _p[2]->v.i;
  QAbstractSocket::OpenMode mode= (QAbstractSocket::OpenMode) _p[3]->v.i;
  self->QAbstractSocket::connectToHost( *address, port, mode );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_connectToHost( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString hostName( _mbs1 );
  quint16 port= (quint16) _p[2]->v.i;
  QAbstractSocket::OpenMode mode= (QAbstractSocket::OpenMode) _p[3]->v.i;
  self->QAbstractSocket::connectToHost( hostName, port, mode );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_connectToHostImplementation( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QAbstractSocket *self = (DaoCxx_QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString hostName( _mbs1 );
  quint16 port= (quint16) _p[2]->v.i;
  QAbstractSocket::OpenMode mode= (QAbstractSocket::OpenMode) _p[3]->v.i;
  self->DaoWrap_connectToHostImplementation( hostName, port, mode );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_disconnectFromHost( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  self->QAbstractSocket::disconnectFromHost(  );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_disconnectFromHostImplementation( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QAbstractSocket *self = (DaoCxx_QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  self->DaoWrap_disconnectFromHostImplementation(  );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_error( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QAbstractSocket::SocketError _error = self->QAbstractSocket::error(  );
  DaoContext_PutInteger( _ctx, (int) _error );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_flush( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  bool _flush = self->QAbstractSocket::flush(  );
  DaoContext_PutInteger( _ctx, (int) _flush );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_isSequential( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  bool _isSequential = self->QAbstractSocket::isSequential(  );
  DaoContext_PutInteger( _ctx, (int) _isSequential );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_isValid( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  bool _isValid = self->QAbstractSocket::isValid(  );
  DaoContext_PutInteger( _ctx, (int) _isValid );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_localAddress( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QHostAddress _localAddress = self->QAbstractSocket::localAddress(  );
  DaoContext_PutCData( _ctx, (void*)new QHostAddress( _localAddress ), dao_QHostAddress_Typer );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_localPort( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  quint16 _localPort = self->QAbstractSocket::localPort(  );
  DaoContext_PutInteger( _ctx, (int) _localPort );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_peerAddress( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QHostAddress _peerAddress = self->QAbstractSocket::peerAddress(  );
  DaoContext_PutCData( _ctx, (void*)new QHostAddress( _peerAddress ), dao_QHostAddress_Typer );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_peerName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QString _peerName = self->QAbstractSocket::peerName(  );
  DaoContext_PutMBString( _ctx, _peerName.toLocal8Bit().data() );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_peerPort( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  quint16 _peerPort = self->QAbstractSocket::peerPort(  );
  DaoContext_PutInteger( _ctx, (int) _peerPort );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_readBufferSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  qint64 _readBufferSize = self->QAbstractSocket::readBufferSize(  );
  DaoContext_PutDouble( _ctx, (double) _readBufferSize );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_readData( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QAbstractSocket *self = (DaoCxx_QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  char* data= (char*) DValue_GetMBString( _p[1] );
  qint64 maxlen= (qint64) _p[2]->v.d;
  qint64 _readData = self->DaoWrap_readData( data, maxlen );
  DString_SetMBS( _p[1]->v.s, (char*) data );
  DaoContext_PutDouble( _ctx, (double) _readData );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_readLineData( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QAbstractSocket *self = (DaoCxx_QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  char* data= (char*) DValue_GetMBString( _p[1] );
  qint64 maxlen= (qint64) _p[2]->v.d;
  qint64 _readLineData = self->DaoWrap_readLineData( data, maxlen );
  DString_SetMBS( _p[1]->v.s, (char*) data );
  DaoContext_PutDouble( _ctx, (double) _readLineData );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_setLocalAddress( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QAbstractSocket *self = (DaoCxx_QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QHostAddress* address= (QHostAddress*) DValue_CastCData( _p[1], dao_QHostAddress_Typer );
  self->DaoWrap_setLocalAddress( *address );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_setLocalPort( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QAbstractSocket *self = (DaoCxx_QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  quint16 port= (quint16) _p[1]->v.i;
  self->DaoWrap_setLocalPort( port );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_setPeerAddress( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QAbstractSocket *self = (DaoCxx_QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QHostAddress* address= (QHostAddress*) DValue_CastCData( _p[1], dao_QHostAddress_Typer );
  self->DaoWrap_setPeerAddress( *address );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_setPeerName( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QAbstractSocket *self = (DaoCxx_QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  self->DaoWrap_setPeerName( name );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_setPeerPort( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QAbstractSocket *self = (DaoCxx_QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  quint16 port= (quint16) _p[1]->v.i;
  self->DaoWrap_setPeerPort( port );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_setReadBufferSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  qint64 size= (qint64) _p[1]->v.d;
  self->QAbstractSocket::setReadBufferSize( size );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_setSocketDescriptor( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  int socketDescriptor= (int) _p[1]->v.i;
  QAbstractSocket::SocketState state= (QAbstractSocket::SocketState) _p[2]->v.i;
  QAbstractSocket::OpenMode openMode= (QAbstractSocket::OpenMode) _p[3]->v.i;
  bool _setSocketDescriptor = self->QAbstractSocket::setSocketDescriptor( socketDescriptor, state, openMode );
  DaoContext_PutInteger( _ctx, (int) _setSocketDescriptor );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_setSocketError( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QAbstractSocket *self = (DaoCxx_QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QAbstractSocket::SocketError socketError= (QAbstractSocket::SocketError) _p[1]->v.i;
  self->DaoWrap_setSocketError( socketError );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_setSocketOption( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QAbstractSocket::SocketOption option= (QAbstractSocket::SocketOption) _p[1]->v.i;
  QVariant* value= (QVariant*) DValue_CastCData( _p[2], dao_QVariant_Typer );
  self->QAbstractSocket::setSocketOption( option, *value );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_setSocketState( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QAbstractSocket *self = (DaoCxx_QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QAbstractSocket::SocketState state= (QAbstractSocket::SocketState) _p[1]->v.i;
  self->DaoWrap_setSocketState( state );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_socketDescriptor( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  int _socketDescriptor = self->QAbstractSocket::socketDescriptor(  );
  DaoContext_PutInteger( _ctx, (int) _socketDescriptor );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_socketOption( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QAbstractSocket::SocketOption option= (QAbstractSocket::SocketOption) _p[1]->v.i;
  QVariant _socketOption = self->QAbstractSocket::socketOption( option );
  DaoContext_PutCData( _ctx, (void*)new QVariant( _socketOption ), dao_QVariant_Typer );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_socketType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QAbstractSocket::SocketType _socketType = self->QAbstractSocket::socketType(  );
  DaoContext_PutInteger( _ctx, (int) _socketType );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  QAbstractSocket::SocketState _state = self->QAbstractSocket::state(  );
  DaoContext_PutInteger( _ctx, (int) _state );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_waitForBytesWritten( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForBytesWritten = self->QAbstractSocket::waitForBytesWritten( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForBytesWritten );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_waitForConnected( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForConnected = self->QAbstractSocket::waitForConnected( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForConnected );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_waitForDisconnected( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForDisconnected = self->QAbstractSocket::waitForDisconnected( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForDisconnected );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_waitForReadyRead( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAbstractSocket* self= (QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForReadyRead = self->QAbstractSocket::waitForReadyRead( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForReadyRead );
}
/* qabstractsocket.h */
static void dao_QAbstractSocket_writeData( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QAbstractSocket *self = (DaoCxx_QAbstractSocket*) DValue_CastCData( _p[0], dao_QAbstractSocket_Typer );
  char* data= (char*) DValue_GetMBString( _p[1] );
  qint64 len= (qint64) _p[2]->v.d;
  qint64 _writeData = self->DaoWrap_writeData( data, len );
  DaoContext_PutDouble( _ctx, (double) _writeData );
}

/*  qabstractsocket.h */


static DaoNumItem dao_QAbstractSocketPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QAbstractSocketPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QAbstractSocketPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QAbstractSocketPrivate_Typer = 
{ "QAbstractSocketPrivate", NULL, 
  dao_QAbstractSocketPrivate_Nums,
  dao_QAbstractSocketPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QAbstractSocketPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QAbstractSocketPrivate_Typer = & QAbstractSocketPrivate_Typer;

/*  qauthenticator.h */


static DaoNumItem dao_QAuthenticator_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QAuthenticator_QAuthenticator( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAuthenticator_QAuthenticator_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAuthenticator_detach( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAuthenticator_isNull( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAuthenticator_option( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAuthenticator_options( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAuthenticator_password( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAuthenticator_realm( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAuthenticator_setOption( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAuthenticator_setPassword( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAuthenticator_setUser( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QAuthenticator_user( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QAuthenticator_Meths[] = 
{
  { dao_QAuthenticator_QAuthenticator, "QAuthenticator(  )=>QAuthenticator" },
  { dao_QAuthenticator_QAuthenticator_dao_2, "QAuthenticator( other : QAuthenticator )=>QAuthenticator" },
  { dao_QAuthenticator_detach, "detach( self : QAuthenticator )" },
  { dao_QAuthenticator_isNull, "isNull( self : QAuthenticator )=>int" },
  { dao_QAuthenticator_option, "option( self : QAuthenticator, opt : string )=>QVariant" },
  { dao_QAuthenticator_options, "options( self : QAuthenticator )=>QVariantHash" },
  { dao_QAuthenticator_password, "password( self : QAuthenticator )=>string" },
  { dao_QAuthenticator_realm, "realm( self : QAuthenticator )=>string" },
  { dao_QAuthenticator_setOption, "setOption( self : QAuthenticator, opt : string, value : QVariant )" },
  { dao_QAuthenticator_setPassword, "setPassword( self : QAuthenticator, password : string )" },
  { dao_QAuthenticator_setUser, "setUser( self : QAuthenticator, user : string )" },
  { dao_QAuthenticator_user, "user( self : QAuthenticator )=>string" },
  { NULL, NULL }
};
static void Dao_QAuthenticator_Delete( void *self )
{
	delete (QAuthenticator*) self;
}

static DaoTypeBase QAuthenticator_Typer = 
{ "QAuthenticator", NULL, 
  dao_QAuthenticator_Nums,
  dao_QAuthenticator_Meths, 
  { 0 },
  { 0 },
  Dao_QAuthenticator_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QAuthenticator_Typer = & QAuthenticator_Typer;
/* qauthenticator.h */
static void dao_QAuthenticator_QAuthenticator( DaoContext *_ctx, DValue *_p[], int _n )
{
	QAuthenticator *_self = Dao_QAuthenticator_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QAuthenticator_Typer );
}
/* qauthenticator.h */
static void dao_QAuthenticator_QAuthenticator_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAuthenticator* other= (QAuthenticator*) DValue_CastCData( _p[0], dao_QAuthenticator_Typer );
	QAuthenticator *_self = Dao_QAuthenticator_New( *other );
	DaoContext_PutCData( _ctx, _self, dao_QAuthenticator_Typer );
}
/* qauthenticator.h */
static void dao_QAuthenticator_detach( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAuthenticator* self= (QAuthenticator*) DValue_CastCData( _p[0], dao_QAuthenticator_Typer );
  self->QAuthenticator::detach(  );
}
/* qauthenticator.h */
static void dao_QAuthenticator_isNull( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAuthenticator* self= (QAuthenticator*) DValue_CastCData( _p[0], dao_QAuthenticator_Typer );
  bool _isNull = self->QAuthenticator::isNull(  );
  DaoContext_PutInteger( _ctx, (int) _isNull );
}
/* qauthenticator.h */
static void dao_QAuthenticator_option( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAuthenticator* self= (QAuthenticator*) DValue_CastCData( _p[0], dao_QAuthenticator_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString opt( _mbs1 );
  QVariant _option = self->QAuthenticator::option( opt );
  DaoContext_PutCData( _ctx, (void*)new QVariant( _option ), dao_QVariant_Typer );
}
/* qauthenticator.h */
static void dao_QAuthenticator_options( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAuthenticator* self= (QAuthenticator*) DValue_CastCData( _p[0], dao_QAuthenticator_Typer );
  QVariantHash _options = self->QAuthenticator::options(  );
  DaoContext_CopyCData( _ctx, (void*)& _options, sizeof(QVariantHash), dao_QVariantHash_Typer );
}
/* qauthenticator.h */
static void dao_QAuthenticator_password( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAuthenticator* self= (QAuthenticator*) DValue_CastCData( _p[0], dao_QAuthenticator_Typer );
  QString _password = self->QAuthenticator::password(  );
  DaoContext_PutMBString( _ctx, _password.toLocal8Bit().data() );
}
/* qauthenticator.h */
static void dao_QAuthenticator_realm( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAuthenticator* self= (QAuthenticator*) DValue_CastCData( _p[0], dao_QAuthenticator_Typer );
  QString _realm = self->QAuthenticator::realm(  );
  DaoContext_PutMBString( _ctx, _realm.toLocal8Bit().data() );
}
/* qauthenticator.h */
static void dao_QAuthenticator_setOption( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAuthenticator* self= (QAuthenticator*) DValue_CastCData( _p[0], dao_QAuthenticator_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString opt( _mbs1 );
  QVariant* value= (QVariant*) DValue_CastCData( _p[2], dao_QVariant_Typer );
  self->QAuthenticator::setOption( opt, *value );
}
/* qauthenticator.h */
static void dao_QAuthenticator_setPassword( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAuthenticator* self= (QAuthenticator*) DValue_CastCData( _p[0], dao_QAuthenticator_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString password( _mbs1 );
  self->QAuthenticator::setPassword( password );
}
/* qauthenticator.h */
static void dao_QAuthenticator_setUser( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAuthenticator* self= (QAuthenticator*) DValue_CastCData( _p[0], dao_QAuthenticator_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString user( _mbs1 );
  self->QAuthenticator::setUser( user );
}
/* qauthenticator.h */
static void dao_QAuthenticator_user( DaoContext *_ctx, DValue *_p[], int _n )
{
  QAuthenticator* self= (QAuthenticator*) DValue_CastCData( _p[0], dao_QAuthenticator_Typer );
  QString _user = self->QAuthenticator::user(  );
  DaoContext_PutMBString( _ctx, _user.toLocal8Bit().data() );
}

/*  qftp.h */


static DaoNumItem dao_QFtp_Nums[] =
{
  { "Unconnected", DAO_INTEGER, QFtp::Unconnected },
  { "HostLookup", DAO_INTEGER, QFtp::HostLookup },
  { "Connecting", DAO_INTEGER, QFtp::Connecting },
  { "Connected", DAO_INTEGER, QFtp::Connected },
  { "LoggedIn", DAO_INTEGER, QFtp::LoggedIn },
  { "Closing", DAO_INTEGER, QFtp::Closing },
  { "NoError", DAO_INTEGER, QFtp::NoError },
  { "UnknownError", DAO_INTEGER, QFtp::UnknownError },
  { "HostNotFound", DAO_INTEGER, QFtp::HostNotFound },
  { "ConnectionRefused", DAO_INTEGER, QFtp::ConnectionRefused },
  { "NotConnected", DAO_INTEGER, QFtp::NotConnected },
  { "None", DAO_INTEGER, QFtp::None },
  { "SetTransferMode", DAO_INTEGER, QFtp::SetTransferMode },
  { "SetProxy", DAO_INTEGER, QFtp::SetProxy },
  { "ConnectToHost", DAO_INTEGER, QFtp::ConnectToHost },
  { "Login", DAO_INTEGER, QFtp::Login },
  { "Close", DAO_INTEGER, QFtp::Close },
  { "List", DAO_INTEGER, QFtp::List },
  { "Cd", DAO_INTEGER, QFtp::Cd },
  { "Get", DAO_INTEGER, QFtp::Get },
  { "Put", DAO_INTEGER, QFtp::Put },
  { "Remove", DAO_INTEGER, QFtp::Remove },
  { "Mkdir", DAO_INTEGER, QFtp::Mkdir },
  { "Rmdir", DAO_INTEGER, QFtp::Rmdir },
  { "Rename", DAO_INTEGER, QFtp::Rename },
  { "RawCommand", DAO_INTEGER, QFtp::RawCommand },
  { "Active", DAO_INTEGER, QFtp::Active },
  { "Passive", DAO_INTEGER, QFtp::Passive },
  { "Binary", DAO_INTEGER, QFtp::Binary },
  { "Ascii", DAO_INTEGER, QFtp::Ascii },
  { NULL, 0, 0 }
};
static void dao_QFtp_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_QFtp( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_abort( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_bytesAvailable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_cd( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_clearPendingCommands( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_close( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_connectToHost( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_currentCommand( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_currentDevice( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_currentId( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_error( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_errorString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_get( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_hasPendingCommands( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_list( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_login( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_mkdir( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_put_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_put( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_rawCommand( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_read( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_readAll( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_rename( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_rmdir( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_setProxy( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_setTransferMode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QFtp_state( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QFtp_Meths[] = 
{
  { dao_QFtp_qobject_cast, "qobject_cast( object : QObject )=>QFtp" },
  { dao_QFtp_QFtp, "QFtp( parent : QObject|null=null )=>QFtp" },
  { dao_QFtp_abort, "abort( self : QFtp )" },
  { dao_QFtp_bytesAvailable, "bytesAvailable( self : QFtp )=>double" },
  { dao_QFtp_cd, "cd( self : QFtp, dir : string )=>int" },
  { dao_QFtp_clearPendingCommands, "clearPendingCommands( self : QFtp )" },
  { dao_QFtp_close, "close( self : QFtp )=>int" },
  { dao_QFtp_connectToHost, "connectToHost( self : QFtp, host : string, port : int=21 )=>int" },
  { dao_QFtp_currentCommand, "currentCommand( self : QFtp )=>int" },
  { dao_QFtp_currentDevice, "currentDevice( self : QFtp )=>QIODevice" },
  { dao_QFtp_currentId, "currentId( self : QFtp )=>int" },
  { dao_QFtp_error, "error( self : QFtp )=>int" },
  { dao_QFtp_errorString, "errorString( self : QFtp )=>string" },
  { dao_QFtp_get, "get( self : QFtp, file : string, dev : QIODevice|null=null, type : int = Binary )=>int" },
  { dao_QFtp_hasPendingCommands, "hasPendingCommands( self : QFtp )=>int" },
  { dao_QFtp_list, "list( self : QFtp, dir : string|null=null )=>int" },
  { dao_QFtp_login, "login( self : QFtp, user : string|null=null, password : string|null=null )=>int" },
  { dao_QFtp_mkdir, "mkdir( self : QFtp, dir : string )=>int" },
  { dao_QFtp_put_dao_2, "put( self : QFtp, dev : QIODevice, file : string, type : int = Binary )=>int" },
  { dao_QFtp_put, "put( self : QFtp, data : string, file : string, type : int = Binary )=>int" },
  { dao_QFtp_rawCommand, "rawCommand( self : QFtp, command : string )=>int" },
  { dao_QFtp_read, "read( self : QFtp, data : string, maxlen : double )=>double" },
  { dao_QFtp_readAll, "readAll( self : QFtp )=>string" },
  { dao_QFtp_remove, "remove( self : QFtp, file : string )=>int" },
  { dao_QFtp_rename, "rename( self : QFtp, oldname : string, newname : string )=>int" },
  { dao_QFtp_rmdir, "rmdir( self : QFtp, dir : string )=>int" },
  { dao_QFtp_setProxy, "setProxy( self : QFtp, host : string, port : int )=>int" },
  { dao_QFtp_setTransferMode, "setTransferMode( self : QFtp, mode : int )=>int" },
  { dao_QFtp_state, "state( self : QFtp )=>int" },
  { NULL, NULL }
};
static void Dao_QFtp_Delete( void *self )
{
	delete (QFtp*) self;
}
void* dao_cast_QFtp_to_QObject( void *data )
{
	return (QObject*)(QFtp*)data;
}

static DaoTypeBase QFtp_Typer = 
{ "QFtp", NULL, 
  dao_QFtp_Nums,
  dao_QFtp_Meths, 
  { dao_QObject_Typer, 0 },
  { dao_cast_QFtp_to_QObject,0 },
  Dao_QFtp_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QFtp_Typer = & QFtp_Typer;
static void dao_QFtp_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QFtp *to2 = qobject_cast<QFtp*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QFtp_Typer );
}
/* qftp.h */
static void dao_QFtp_QFtp( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QFtp *_self = DaoCxx_QFtp_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qftp.h */
static void dao_QFtp_abort( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  self->QFtp::abort(  );
}
/* qftp.h */
static void dao_QFtp_bytesAvailable( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  qint64 _bytesAvailable = self->QFtp::bytesAvailable(  );
  DaoContext_PutDouble( _ctx, (double) _bytesAvailable );
}
/* qftp.h */
static void dao_QFtp_cd( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString dir( _mbs1 );
  int _cd = self->QFtp::cd( dir );
  DaoContext_PutInteger( _ctx, (int) _cd );
}
/* qftp.h */
static void dao_QFtp_clearPendingCommands( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  self->QFtp::clearPendingCommands(  );
}
/* qftp.h */
static void dao_QFtp_close( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  int _close = self->QFtp::close(  );
  DaoContext_PutInteger( _ctx, (int) _close );
}
/* qftp.h */
static void dao_QFtp_connectToHost( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString host( _mbs1 );
  quint16 port= (quint16) _p[2]->v.i;
  int _connectToHost = self->QFtp::connectToHost( host, port );
  DaoContext_PutInteger( _ctx, (int) _connectToHost );
}
/* qftp.h */
static void dao_QFtp_currentCommand( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  QFtp::Command _currentCommand = self->QFtp::currentCommand(  );
  DaoContext_PutInteger( _ctx, (int) _currentCommand );
}
/* qftp.h */
static void dao_QFtp_currentDevice( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  QIODevice* _currentDevice = self->QFtp::currentDevice(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _currentDevice );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QIODevice_InitSS( (QIODevice*) _currentDevice );
    DaoContext_WrapCData( _ctx, (void*) _currentDevice, dao_QIODevice_Typer );
  }
}
/* qftp.h */
static void dao_QFtp_currentId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  int _currentId = self->QFtp::currentId(  );
  DaoContext_PutInteger( _ctx, (int) _currentId );
}
/* qftp.h */
static void dao_QFtp_error( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  QFtp::Error _error = self->QFtp::error(  );
  DaoContext_PutInteger( _ctx, (int) _error );
}
/* qftp.h */
static void dao_QFtp_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  QString _errorString = self->QFtp::errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}
/* qftp.h */
static void dao_QFtp_get( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString file( _mbs1 );
  QIODevice* dev= (QIODevice*) DValue_CastCData( _p[2], dao_QIODevice_Typer );
  QFtp::TransferType type= (QFtp::TransferType) _p[3]->v.i;
  int _get = self->QFtp::get( file, dev, type );
  DaoContext_PutInteger( _ctx, (int) _get );
}
/* qftp.h */
static void dao_QFtp_hasPendingCommands( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  bool _hasPendingCommands = self->QFtp::hasPendingCommands(  );
  DaoContext_PutInteger( _ctx, (int) _hasPendingCommands );
}
/* qftp.h */
static void dao_QFtp_list( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString dir( _mbs1 );
  int _list;
  if(_n<=1) _list = self->QFtp::list(  );
  else _list = self->QFtp::list( dir );
  DaoContext_PutInteger( _ctx, (int) _list );
}
/* qftp.h */
static void dao_QFtp_login( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString user( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString password( _mbs2 );
  int _login;
  if(_n<=1) _login = self->QFtp::login(  );
  else if(_n<=2) _login = self->QFtp::login( user );
  else _login = self->QFtp::login( user, password );
  DaoContext_PutInteger( _ctx, (int) _login );
}
/* qftp.h */
static void dao_QFtp_mkdir( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString dir( _mbs1 );
  int _mkdir = self->QFtp::mkdir( dir );
  DaoContext_PutInteger( _ctx, (int) _mkdir );
}
/* qftp.h */
static void dao_QFtp_put_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  QIODevice* dev= (QIODevice*) DValue_CastCData( _p[1], dao_QIODevice_Typer );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString file( _mbs2 );
  QFtp::TransferType type= (QFtp::TransferType) _p[3]->v.i;
  int _put = self->QFtp::put( dev, file, type );
  DaoContext_PutInteger( _ctx, (int) _put );
}
/* qftp.h */
static void dao_QFtp_put( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray data( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString file( _mbs2 );
  QFtp::TransferType type= (QFtp::TransferType) _p[3]->v.i;
  int _put = self->QFtp::put( data, file, type );
  DaoContext_PutInteger( _ctx, (int) _put );
}
/* qftp.h */
static void dao_QFtp_rawCommand( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString command( _mbs1 );
  int _rawCommand = self->QFtp::rawCommand( command );
  DaoContext_PutInteger( _ctx, (int) _rawCommand );
}
/* qftp.h */
static void dao_QFtp_read( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char* data= (char*) DValue_GetMBString( _p[1] );
  qint64 maxlen= (qint64) _p[2]->v.d;
  qint64 _read = self->QFtp::read( data, maxlen );
  DString_SetMBS( _p[1]->v.s, (char*) data );
  DaoContext_PutDouble( _ctx, (double) _read );
}
/* qftp.h */
static void dao_QFtp_readAll( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  QByteArray _readAll = self->QFtp::readAll(  );
  DaoContext_PutMBString( _ctx, _readAll.data() );
}
/* qftp.h */
static void dao_QFtp_remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString file( _mbs1 );
  int _remove = self->QFtp::remove( file );
  DaoContext_PutInteger( _ctx, (int) _remove );
}
/* qftp.h */
static void dao_QFtp_rename( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString oldname( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString newname( _mbs2 );
  int _rename = self->QFtp::rename( oldname, newname );
  DaoContext_PutInteger( _ctx, (int) _rename );
}
/* qftp.h */
static void dao_QFtp_rmdir( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString dir( _mbs1 );
  int _rmdir = self->QFtp::rmdir( dir );
  DaoContext_PutInteger( _ctx, (int) _rmdir );
}
/* qftp.h */
static void dao_QFtp_setProxy( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString host( _mbs1 );
  quint16 port= (quint16) _p[2]->v.i;
  int _setProxy = self->QFtp::setProxy( host, port );
  DaoContext_PutInteger( _ctx, (int) _setProxy );
}
/* qftp.h */
static void dao_QFtp_setTransferMode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  QFtp::TransferMode mode= (QFtp::TransferMode) _p[1]->v.i;
  int _setTransferMode = self->QFtp::setTransferMode( mode );
  DaoContext_PutInteger( _ctx, (int) _setTransferMode );
}
/* qftp.h */
static void dao_QFtp_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  QFtp* self= (QFtp*) DValue_CastCData( _p[0], dao_QFtp_Typer );
  QFtp::State _state = self->QFtp::state(  );
  DaoContext_PutInteger( _ctx, (int) _state );
}

/*  qhostaddress.h */


static DaoNumItem dao_QHostAddress_Nums[] =
{
  { "Null", DAO_INTEGER, QHostAddress::Null },
  { "Broadcast", DAO_INTEGER, QHostAddress::Broadcast },
  { "LocalHost", DAO_INTEGER, QHostAddress::LocalHost },
  { "LocalHostIPv6", DAO_INTEGER, QHostAddress::LocalHostIPv6 },
  { "Any", DAO_INTEGER, QHostAddress::Any },
  { "AnyIPv6", DAO_INTEGER, QHostAddress::AnyIPv6 },
  { NULL, 0, 0 }
};
static void dao_QHostAddress_QHostAddress( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_QHostAddress_dao_8( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_QHostAddress_dao_7( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_QHostAddress_dao_6( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_QHostAddress_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_QHostAddress_dao_5( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_QHostAddress_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_QHostAddress_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_isInSubnet( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_isNull( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_protocol( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_scopeId( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_setAddress_dao_5( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_setAddress_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_setAddress_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_setAddress( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_setAddress_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_setScopeId( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_toIPv4Address( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_toIPv6Address( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostAddress_toString( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHostAddress_Meths[] = 
{
  { dao_QHostAddress_QHostAddress, "QHostAddress(  )=>QHostAddress" },
  { dao_QHostAddress_QHostAddress_dao_8, "QHostAddress( address : int )=>QHostAddress" },
  { dao_QHostAddress_QHostAddress_dao_7, "QHostAddress( copy : QHostAddress )=>QHostAddress" },
  { dao_QHostAddress_QHostAddress_dao_6, "QHostAddress( address : string )=>QHostAddress" },
  { dao_QHostAddress_QHostAddress_dao_4, "QHostAddress( ip6Addr : QIPv6Address )=>QHostAddress" },
  { dao_QHostAddress_QHostAddress_dao_5, "QHostAddress( sa : sockaddr )=>QHostAddress" },
  { dao_QHostAddress_QHostAddress_dao_2, "QHostAddress( ip4Addr : int )=>QHostAddress" },
  { dao_QHostAddress_QHostAddress_dao_3, "QHostAddress( ip6Addr : string )=>QHostAddress" },
  { dao_QHostAddress_clear, "clear( self : QHostAddress )" },
  { dao_QHostAddress_isInSubnet, "isInSubnet( self : QHostAddress, subnet : QHostAddress, netmask : int )=>int" },
  { dao_QHostAddress_isNull, "isNull( self : QHostAddress )=>int" },
  { dao_QHostAddress_protocol, "protocol( self : QHostAddress )=>int" },
  { dao_QHostAddress_scopeId, "scopeId( self : QHostAddress )=>string" },
  { dao_QHostAddress_setAddress_dao_5, "setAddress( self : QHostAddress, address : string )=>int" },
  { dao_QHostAddress_setAddress_dao_3, "setAddress( self : QHostAddress, ip6Addr : QIPv6Address )" },
  { dao_QHostAddress_setAddress_dao_4, "setAddress( self : QHostAddress, sa : sockaddr )" },
  { dao_QHostAddress_setAddress, "setAddress( self : QHostAddress, ip4Addr : int )" },
  { dao_QHostAddress_setAddress_dao_2, "setAddress( self : QHostAddress, ip6Addr : string )" },
  { dao_QHostAddress_setScopeId, "setScopeId( self : QHostAddress, id : string )" },
  { dao_QHostAddress_toIPv4Address, "toIPv4Address( self : QHostAddress )=>int" },
  { dao_QHostAddress_toIPv6Address, "toIPv6Address( self : QHostAddress )=>QIPv6Address" },
  { dao_QHostAddress_toString, "toString( self : QHostAddress )=>string" },
  { NULL, NULL }
};
static void Dao_QHostAddress_Delete( void *self )
{
	delete (QHostAddress*) self;
}

static DaoTypeBase QHostAddress_Typer = 
{ "QHostAddress", NULL, 
  dao_QHostAddress_Nums,
  dao_QHostAddress_Meths, 
  { 0 },
  { 0 },
  Dao_QHostAddress_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QHostAddress_Typer = & QHostAddress_Typer;
/* qhostaddress.h */
static void dao_QHostAddress_QHostAddress( DaoContext *_ctx, DValue *_p[], int _n )
{
	QHostAddress *_self = Dao_QHostAddress_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QHostAddress_Typer );
}
/* qhostaddress.h */
static void dao_QHostAddress_QHostAddress_dao_8( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress::SpecialAddress address= (QHostAddress::SpecialAddress) _p[0]->v.i;
	QHostAddress *_self = Dao_QHostAddress_New( address );
	DaoContext_PutCData( _ctx, _self, dao_QHostAddress_Typer );
}
/* qhostaddress.h */
static void dao_QHostAddress_QHostAddress_dao_7( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* copy= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
	QHostAddress *_self = Dao_QHostAddress_New( *copy );
	DaoContext_PutCData( _ctx, _self, dao_QHostAddress_Typer );
}
/* qhostaddress.h */
static void dao_QHostAddress_QHostAddress_dao_6( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString address( _mbs0 );
	QHostAddress *_self = Dao_QHostAddress_New( address );
	DaoContext_PutCData( _ctx, _self, dao_QHostAddress_Typer );
}
/* qhostaddress.h */
static void dao_QHostAddress_QHostAddress_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  Q_IPV6ADDR* ip6Addr= (Q_IPV6ADDR*) DValue_CastCData( _p[0], dao_QIPv6Address_Typer );
	QHostAddress *_self = Dao_QHostAddress_New( *ip6Addr );
	DaoContext_PutCData( _ctx, _self, dao_QHostAddress_Typer );
}
/* qhostaddress.h */
static void dao_QHostAddress_QHostAddress_dao_5( DaoContext *_ctx, DValue *_p[], int _n )
{
  sockaddr* sa= (sockaddr*) DValue_CastCData( _p[0], dao_sockaddr_Typer );
	QHostAddress *_self = Dao_QHostAddress_New( sa );
	DaoContext_PutCData( _ctx, _self, dao_QHostAddress_Typer );
}
/* qhostaddress.h */
static void dao_QHostAddress_QHostAddress_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  quint32 ip4Addr= (quint32) _p[0]->v.i;
	QHostAddress *_self = Dao_QHostAddress_New( ip4Addr );
	DaoContext_PutCData( _ctx, _self, dao_QHostAddress_Typer );
}
/* qhostaddress.h */
static void dao_QHostAddress_QHostAddress_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  quint8* ip6Addr= (quint8*) DValue_GetMBString( _p[0] );
	QHostAddress *_self = Dao_QHostAddress_New( ip6Addr );
	DaoContext_PutCData( _ctx, _self, dao_QHostAddress_Typer );
  DString_SetMBS( _p[0]->v.s, (char*) ip6Addr );
}
/* qhostaddress.h */
static void dao_QHostAddress_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  self->QHostAddress::clear(  );
}
/* qhostaddress.h */
static void dao_QHostAddress_isInSubnet( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  QHostAddress* subnet= (QHostAddress*) DValue_CastCData( _p[1], dao_QHostAddress_Typer );
  int netmask= (int) _p[2]->v.i;
  bool _isInSubnet = self->QHostAddress::isInSubnet( *subnet, netmask );
  DaoContext_PutInteger( _ctx, (int) _isInSubnet );
}
/* qhostaddress.h */
static void dao_QHostAddress_isNull( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  bool _isNull = self->QHostAddress::isNull(  );
  DaoContext_PutInteger( _ctx, (int) _isNull );
}
/* qhostaddress.h */
static void dao_QHostAddress_protocol( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  QAbstractSocket::NetworkLayerProtocol _protocol = self->QHostAddress::protocol(  );
  DaoContext_PutInteger( _ctx, (int) _protocol );
}
/* qhostaddress.h */
static void dao_QHostAddress_scopeId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  QString _scopeId = self->QHostAddress::scopeId(  );
  DaoContext_PutMBString( _ctx, _scopeId.toLocal8Bit().data() );
}
/* qhostaddress.h */
static void dao_QHostAddress_setAddress_dao_5( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString address( _mbs1 );
  bool _setAddress = self->QHostAddress::setAddress( address );
  DaoContext_PutInteger( _ctx, (int) _setAddress );
}
/* qhostaddress.h */
static void dao_QHostAddress_setAddress_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  Q_IPV6ADDR* ip6Addr= (Q_IPV6ADDR*) DValue_CastCData( _p[1], dao_QIPv6Address_Typer );
  self->QHostAddress::setAddress( *ip6Addr );
}
/* qhostaddress.h */
static void dao_QHostAddress_setAddress_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  sockaddr* sa= (sockaddr*) DValue_CastCData( _p[1], dao_sockaddr_Typer );
  self->QHostAddress::setAddress( sa );
}
/* qhostaddress.h */
static void dao_QHostAddress_setAddress( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  quint32 ip4Addr= (quint32) _p[1]->v.i;
  self->QHostAddress::setAddress( ip4Addr );
}
/* qhostaddress.h */
static void dao_QHostAddress_setAddress_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  quint8* ip6Addr= (quint8*) DValue_GetMBString( _p[1] );
  self->QHostAddress::setAddress( ip6Addr );
  DString_SetMBS( _p[1]->v.s, (char*) ip6Addr );
}
/* qhostaddress.h */
static void dao_QHostAddress_setScopeId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString id( _mbs1 );
  self->QHostAddress::setScopeId( id );
}
/* qhostaddress.h */
static void dao_QHostAddress_toIPv4Address( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  quint32 _toIPv4Address = self->QHostAddress::toIPv4Address(  );
  DaoContext_PutInteger( _ctx, (int) _toIPv4Address );
}
/* qhostaddress.h */
static void dao_QHostAddress_toIPv6Address( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  Q_IPV6ADDR _toIPv6Address = self->QHostAddress::toIPv6Address(  );
  DaoContext_PutCData( _ctx, (void*)new Q_IPV6ADDR( _toIPv6Address ), dao_QIPv6Address_Typer );
}
/* qhostaddress.h */
static void dao_QHostAddress_toString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostAddress* self= (QHostAddress*) DValue_CastCData( _p[0], dao_QHostAddress_Typer );
  QString _toString = self->QHostAddress::toString(  );
  DaoContext_PutMBString( _ctx, _toString.toLocal8Bit().data() );
}

/*  qhostinfo.h */


static DaoNumItem dao_QHostInfo_Nums[] =
{
  { "NoError", DAO_INTEGER, QHostInfo::NoError },
  { "HostNotFound", DAO_INTEGER, QHostInfo::HostNotFound },
  { "UnknownError", DAO_INTEGER, QHostInfo::UnknownError },
  { NULL, 0, 0 }
};
static void dao_QHostInfo_QHostInfo_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_QHostInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_abortHostLookup( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_error( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_errorString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_fromName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_hostName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_localDomainName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_localHostName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_lookupHost( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_lookupId( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_setError( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_setErrorString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_setHostName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHostInfo_setLookupId( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHostInfo_Meths[] = 
{
  { dao_QHostInfo_QHostInfo_dao_2, "QHostInfo( d : QHostInfo )=>QHostInfo" },
  { dao_QHostInfo_QHostInfo, "QHostInfo( lookupId : int = -1 )=>QHostInfo" },
  { dao_QHostInfo_abortHostLookup, "abortHostLookup( lookupId : int )" },
  { dao_QHostInfo_error, "error( self : QHostInfo )=>int" },
  { dao_QHostInfo_errorString, "errorString( self : QHostInfo )=>string" },
  { dao_QHostInfo_fromName, "fromName( name : string )=>QHostInfo" },
  { dao_QHostInfo_hostName, "hostName( self : QHostInfo )=>string" },
  { dao_QHostInfo_localDomainName, "localDomainName(  )=>string" },
  { dao_QHostInfo_localHostName, "localHostName(  )=>string" },
  { dao_QHostInfo_lookupHost, "lookupHost( name : string, receiver : QObject, member : string )=>int" },
  { dao_QHostInfo_lookupId, "lookupId( self : QHostInfo )=>int" },
  { dao_QHostInfo_setError, "setError( self : QHostInfo, error : int )" },
  { dao_QHostInfo_setErrorString, "setErrorString( self : QHostInfo, errorString : string )" },
  { dao_QHostInfo_setHostName, "setHostName( self : QHostInfo, name : string )" },
  { dao_QHostInfo_setLookupId, "setLookupId( self : QHostInfo, id : int )" },
  { NULL, NULL }
};
static void Dao_QHostInfo_Delete( void *self )
{
	delete (QHostInfo*) self;
}

static DaoTypeBase QHostInfo_Typer = 
{ "QHostInfo", NULL, 
  dao_QHostInfo_Nums,
  dao_QHostInfo_Meths, 
  { 0 },
  { 0 },
  Dao_QHostInfo_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QHostInfo_Typer = & QHostInfo_Typer;
/* qhostinfo.h */
static void dao_QHostInfo_QHostInfo_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostInfo* d= (QHostInfo*) DValue_CastCData( _p[0], dao_QHostInfo_Typer );
	QHostInfo *_self = Dao_QHostInfo_New( *d );
	DaoContext_PutCData( _ctx, _self, dao_QHostInfo_Typer );
}
/* qhostinfo.h */
static void dao_QHostInfo_QHostInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  int lookupId= (int) _p[0]->v.i;
	QHostInfo *_self = Dao_QHostInfo_New( lookupId );
	DaoContext_PutCData( _ctx, _self, dao_QHostInfo_Typer );
}
/* qhostinfo.h */
static void dao_QHostInfo_abortHostLookup( DaoContext *_ctx, DValue *_p[], int _n )
{
  int lookupId= (int) _p[0]->v.i;
  QHostInfo::abortHostLookup( lookupId );
}
/* qhostinfo.h */
static void dao_QHostInfo_error( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostInfo* self= (QHostInfo*) DValue_CastCData( _p[0], dao_QHostInfo_Typer );
  QHostInfo::HostInfoError _error = self->QHostInfo::error(  );
  DaoContext_PutInteger( _ctx, (int) _error );
}
/* qhostinfo.h */
static void dao_QHostInfo_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostInfo* self= (QHostInfo*) DValue_CastCData( _p[0], dao_QHostInfo_Typer );
  QString _errorString = self->QHostInfo::errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}
/* qhostinfo.h */
static void dao_QHostInfo_fromName( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString name( _mbs0 );
  QHostInfo _fromName = QHostInfo::fromName( name );
  DaoContext_PutCData( _ctx, (void*)new QHostInfo( _fromName ), dao_QHostInfo_Typer );
}
/* qhostinfo.h */
static void dao_QHostInfo_hostName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostInfo* self= (QHostInfo*) DValue_CastCData( _p[0], dao_QHostInfo_Typer );
  QString _hostName = self->QHostInfo::hostName(  );
  DaoContext_PutMBString( _ctx, _hostName.toLocal8Bit().data() );
}
/* qhostinfo.h */
static void dao_QHostInfo_localDomainName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QString _localDomainName = QHostInfo::localDomainName(  );
  DaoContext_PutMBString( _ctx, _localDomainName.toLocal8Bit().data() );
}
/* qhostinfo.h */
static void dao_QHostInfo_localHostName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QString _localHostName = QHostInfo::localHostName(  );
  DaoContext_PutMBString( _ctx, _localHostName.toLocal8Bit().data() );
}
/* qhostinfo.h */
static void dao_QHostInfo_lookupHost( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString name( _mbs0 );
  QObject* receiver= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
  char* member= (char*) DValue_GetMBString( _p[2] );
  int _lookupHost = QHostInfo::lookupHost( name, receiver, member );
  DaoContext_PutInteger( _ctx, (int) _lookupHost );
}
/* qhostinfo.h */
static void dao_QHostInfo_lookupId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostInfo* self= (QHostInfo*) DValue_CastCData( _p[0], dao_QHostInfo_Typer );
  int _lookupId = self->QHostInfo::lookupId(  );
  DaoContext_PutInteger( _ctx, (int) _lookupId );
}
/* qhostinfo.h */
static void dao_QHostInfo_setError( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostInfo* self= (QHostInfo*) DValue_CastCData( _p[0], dao_QHostInfo_Typer );
  QHostInfo::HostInfoError error= (QHostInfo::HostInfoError) _p[1]->v.i;
  self->QHostInfo::setError( error );
}
/* qhostinfo.h */
static void dao_QHostInfo_setErrorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostInfo* self= (QHostInfo*) DValue_CastCData( _p[0], dao_QHostInfo_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString errorString( _mbs1 );
  self->QHostInfo::setErrorString( errorString );
}
/* qhostinfo.h */
static void dao_QHostInfo_setHostName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostInfo* self= (QHostInfo*) DValue_CastCData( _p[0], dao_QHostInfo_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  self->QHostInfo::setHostName( name );
}
/* qhostinfo.h */
static void dao_QHostInfo_setLookupId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHostInfo* self= (QHostInfo*) DValue_CastCData( _p[0], dao_QHostInfo_Typer );
  int id= (int) _p[1]->v.i;
  self->QHostInfo::setLookupId( id );
}

/*  qhttp.h */


static DaoNumItem dao_QHttp_Nums[] =
{
  { "ConnectionModeHttp", DAO_INTEGER, QHttp::ConnectionModeHttp },
  { "ConnectionModeHttps", DAO_INTEGER, QHttp::ConnectionModeHttps },
  { "Unconnected", DAO_INTEGER, QHttp::Unconnected },
  { "HostLookup", DAO_INTEGER, QHttp::HostLookup },
  { "Connecting", DAO_INTEGER, QHttp::Connecting },
  { "Sending", DAO_INTEGER, QHttp::Sending },
  { "Reading", DAO_INTEGER, QHttp::Reading },
  { "Connected", DAO_INTEGER, QHttp::Connected },
  { "Closing", DAO_INTEGER, QHttp::Closing },
  { "NoError", DAO_INTEGER, QHttp::NoError },
  { "UnknownError", DAO_INTEGER, QHttp::UnknownError },
  { "HostNotFound", DAO_INTEGER, QHttp::HostNotFound },
  { "ConnectionRefused", DAO_INTEGER, QHttp::ConnectionRefused },
  { "UnexpectedClose", DAO_INTEGER, QHttp::UnexpectedClose },
  { "InvalidResponseHeader", DAO_INTEGER, QHttp::InvalidResponseHeader },
  { "WrongContentLength", DAO_INTEGER, QHttp::WrongContentLength },
  { "Aborted", DAO_INTEGER, QHttp::Aborted },
  { "AuthenticationRequiredError", DAO_INTEGER, QHttp::AuthenticationRequiredError },
  { "ProxyAuthenticationRequiredError", DAO_INTEGER, QHttp::ProxyAuthenticationRequiredError },
  { NULL, 0, 0 }
};
static void dao_QHttp_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_QHttp( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_QHttp_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_QHttp_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_abort( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_bytesAvailable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_clearPendingRequests( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_close( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_closeConnection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_currentDestinationDevice( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_currentId( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_currentRequest( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_currentSourceDevice( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_error( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_errorString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_get( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_hasPendingRequests( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_head( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_ignoreSslErrors( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_lastResponse( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_post( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_post_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_read( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_readAll( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_request( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_request_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_setHost_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_setHost( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_setSocket( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_setUser( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttp_state( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHttp_Meths[] = 
{
  { dao_QHttp_qobject_cast, "qobject_cast( object : QObject )=>QHttp" },
  { dao_QHttp_QHttp, "QHttp( parent : QObject|null=null )=>QHttp" },
  { dao_QHttp_QHttp_dao_3, "QHttp( hostname : string, mode : int, port : int = 0, parent : QObject|null=null )=>QHttp" },
  { dao_QHttp_QHttp_dao_2, "QHttp( hostname : string, port : int = 80, parent : QObject|null=null )=>QHttp" },
  { dao_QHttp_abort, "abort( self : QHttp )" },
  { dao_QHttp_bytesAvailable, "bytesAvailable( self : QHttp )=>double" },
  { dao_QHttp_clearPendingRequests, "clearPendingRequests( self : QHttp )" },
  { dao_QHttp_close, "close( self : QHttp )=>int" },
  { dao_QHttp_closeConnection, "closeConnection( self : QHttp )=>int" },
  { dao_QHttp_currentDestinationDevice, "currentDestinationDevice( self : QHttp )=>QIODevice" },
  { dao_QHttp_currentId, "currentId( self : QHttp )=>int" },
  { dao_QHttp_currentRequest, "currentRequest( self : QHttp )=>QHttpRequestHeader" },
  { dao_QHttp_currentSourceDevice, "currentSourceDevice( self : QHttp )=>QIODevice" },
  { dao_QHttp_error, "error( self : QHttp )=>int" },
  { dao_QHttp_errorString, "errorString( self : QHttp )=>string" },
  { dao_QHttp_get, "get( self : QHttp, path : string, to : QIODevice|null=null )=>int" },
  { dao_QHttp_hasPendingRequests, "hasPendingRequests( self : QHttp )=>int" },
  { dao_QHttp_head, "head( self : QHttp, path : string )=>int" },
  { dao_QHttp_ignoreSslErrors, "ignoreSslErrors( self : QHttp )" },
  { dao_QHttp_lastResponse, "lastResponse( self : QHttp )=>QHttpResponseHeader" },
  { dao_QHttp_post, "post( self : QHttp, path : string, data : QIODevice, to : QIODevice|null=null )=>int" },
  { dao_QHttp_post_dao_2, "post( self : QHttp, path : string, data : string, to : QIODevice|null=null )=>int" },
  { dao_QHttp_read, "read( self : QHttp, data : string, maxlen : double )=>double" },
  { dao_QHttp_readAll, "readAll( self : QHttp )=>string" },
  { dao_QHttp_request, "request( self : QHttp, header : QHttpRequestHeader, device : QIODevice|null=null, to : QIODevice|null=null )=>int" },
  { dao_QHttp_request_dao_2, "request( self : QHttp, header : QHttpRequestHeader, data : string, to : QIODevice|null=null )=>int" },
  { dao_QHttp_setHost_dao_2, "setHost( self : QHttp, hostname : string, mode : int, port : int = 0 )=>int" },
  { dao_QHttp_setHost, "setHost( self : QHttp, hostname : string, port : int = 80 )=>int" },
  { dao_QHttp_setSocket, "setSocket( self : QHttp, socket : QTcpSocket )=>int" },
  { dao_QHttp_setUser, "setUser( self : QHttp, username : string, password : string|null=null )=>int" },
  { dao_QHttp_state, "state( self : QHttp )=>int" },
  { NULL, NULL }
};
static void Dao_QHttp_Delete( void *self )
{
	delete (QHttp*) self;
}
void* dao_cast_QHttp_to_QObject( void *data )
{
	return (QObject*)(QHttp*)data;
}

static DaoTypeBase QHttp_Typer = 
{ "QHttp", NULL, 
  dao_QHttp_Nums,
  dao_QHttp_Meths, 
  { dao_QObject_Typer, 0 },
  { dao_cast_QHttp_to_QObject,0 },
  Dao_QHttp_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QHttp_Typer = & QHttp_Typer;
static void dao_QHttp_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QHttp *to2 = qobject_cast<QHttp*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QHttp_Typer );
}
/* qhttp.h */
static void dao_QHttp_QHttp( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QHttp *_self = DaoCxx_QHttp_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttp_QHttp_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString hostname( _mbs0 );
  QHttp::ConnectionMode mode= (QHttp::ConnectionMode) _p[1]->v.i;
  quint16 port= (quint16) _p[2]->v.i;
  QObject* parent= (QObject*) DValue_CastCData( _p[3], dao_QObject_Typer );
	DaoCxx_QHttp *_self = DaoCxx_QHttp_New( hostname, mode, port, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttp_QHttp_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString hostname( _mbs0 );
  quint16 port= (quint16) _p[1]->v.i;
  QObject* parent= (QObject*) DValue_CastCData( _p[2], dao_QObject_Typer );
	DaoCxx_QHttp *_self = DaoCxx_QHttp_New( hostname, port, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttp_abort( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  self->QHttp::abort(  );
}
/* qhttp.h */
static void dao_QHttp_bytesAvailable( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  qint64 _bytesAvailable = self->QHttp::bytesAvailable(  );
  DaoContext_PutDouble( _ctx, (double) _bytesAvailable );
}
/* qhttp.h */
static void dao_QHttp_clearPendingRequests( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  self->QHttp::clearPendingRequests(  );
}
/* qhttp.h */
static void dao_QHttp_close( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  int _close = self->QHttp::close(  );
  DaoContext_PutInteger( _ctx, (int) _close );
}
/* qhttp.h */
static void dao_QHttp_closeConnection( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  int _closeConnection = self->QHttp::closeConnection(  );
  DaoContext_PutInteger( _ctx, (int) _closeConnection );
}
/* qhttp.h */
static void dao_QHttp_currentDestinationDevice( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  QIODevice* _currentDestinationDevice = self->QHttp::currentDestinationDevice(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _currentDestinationDevice );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QIODevice_InitSS( (QIODevice*) _currentDestinationDevice );
    DaoContext_WrapCData( _ctx, (void*) _currentDestinationDevice, dao_QIODevice_Typer );
  }
}
/* qhttp.h */
static void dao_QHttp_currentId( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  int _currentId = self->QHttp::currentId(  );
  DaoContext_PutInteger( _ctx, (int) _currentId );
}
/* qhttp.h */
static void dao_QHttp_currentRequest( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  QHttpRequestHeader _currentRequest = self->QHttp::currentRequest(  );
  DaoContext_PutCData( _ctx, (void*)new QHttpRequestHeader( _currentRequest ), dao_QHttpRequestHeader_Typer );
}
/* qhttp.h */
static void dao_QHttp_currentSourceDevice( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  QIODevice* _currentSourceDevice = self->QHttp::currentSourceDevice(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _currentSourceDevice );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QIODevice_InitSS( (QIODevice*) _currentSourceDevice );
    DaoContext_WrapCData( _ctx, (void*) _currentSourceDevice, dao_QIODevice_Typer );
  }
}
/* qhttp.h */
static void dao_QHttp_error( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  QHttp::Error _error = self->QHttp::error(  );
  DaoContext_PutInteger( _ctx, (int) _error );
}
/* qhttp.h */
static void dao_QHttp_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  QString _errorString = self->QHttp::errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}
/* qhttp.h */
static void dao_QHttp_get( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString path( _mbs1 );
  QIODevice* to= (QIODevice*) DValue_CastCData( _p[2], dao_QIODevice_Typer );
  int _get = self->QHttp::get( path, to );
  DaoContext_PutInteger( _ctx, (int) _get );
}
/* qhttp.h */
static void dao_QHttp_hasPendingRequests( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  bool _hasPendingRequests = self->QHttp::hasPendingRequests(  );
  DaoContext_PutInteger( _ctx, (int) _hasPendingRequests );
}
/* qhttp.h */
static void dao_QHttp_head( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString path( _mbs1 );
  int _head = self->QHttp::head( path );
  DaoContext_PutInteger( _ctx, (int) _head );
}
/* qhttp.h */
static void dao_QHttp_ignoreSslErrors( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  self->QHttp::ignoreSslErrors(  );
}
/* qhttp.h */
static void dao_QHttp_lastResponse( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  QHttpResponseHeader _lastResponse = self->QHttp::lastResponse(  );
  DaoContext_PutCData( _ctx, (void*)new QHttpResponseHeader( _lastResponse ), dao_QHttpResponseHeader_Typer );
}
/* qhttp.h */
static void dao_QHttp_post( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString path( _mbs1 );
  QIODevice* data= (QIODevice*) DValue_CastCData( _p[2], dao_QIODevice_Typer );
  QIODevice* to= (QIODevice*) DValue_CastCData( _p[3], dao_QIODevice_Typer );
  int _post = self->QHttp::post( path, data, to );
  DaoContext_PutInteger( _ctx, (int) _post );
}
/* qhttp.h */
static void dao_QHttp_post_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString path( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QByteArray data( _mbs2 );
  QIODevice* to= (QIODevice*) DValue_CastCData( _p[3], dao_QIODevice_Typer );
  int _post = self->QHttp::post( path, data, to );
  DaoContext_PutInteger( _ctx, (int) _post );
}
/* qhttp.h */
static void dao_QHttp_read( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  char* data= (char*) DValue_GetMBString( _p[1] );
  qint64 maxlen= (qint64) _p[2]->v.d;
  qint64 _read = self->QHttp::read( data, maxlen );
  DString_SetMBS( _p[1]->v.s, (char*) data );
  DaoContext_PutDouble( _ctx, (double) _read );
}
/* qhttp.h */
static void dao_QHttp_readAll( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  QByteArray _readAll = self->QHttp::readAll(  );
  DaoContext_PutMBString( _ctx, _readAll.data() );
}
/* qhttp.h */
static void dao_QHttp_request( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  QHttpRequestHeader* header= (QHttpRequestHeader*) DValue_CastCData( _p[1], dao_QHttpRequestHeader_Typer );
  QIODevice* device= (QIODevice*) DValue_CastCData( _p[2], dao_QIODevice_Typer );
  QIODevice* to= (QIODevice*) DValue_CastCData( _p[3], dao_QIODevice_Typer );
  int _request = self->QHttp::request( *header, device, to );
  DaoContext_PutInteger( _ctx, (int) _request );
}
/* qhttp.h */
static void dao_QHttp_request_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  QHttpRequestHeader* header= (QHttpRequestHeader*) DValue_CastCData( _p[1], dao_QHttpRequestHeader_Typer );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QByteArray data( _mbs2 );
  QIODevice* to= (QIODevice*) DValue_CastCData( _p[3], dao_QIODevice_Typer );
  int _request = self->QHttp::request( *header, data, to );
  DaoContext_PutInteger( _ctx, (int) _request );
}
/* qhttp.h */
static void dao_QHttp_setHost_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString hostname( _mbs1 );
  QHttp::ConnectionMode mode= (QHttp::ConnectionMode) _p[2]->v.i;
  quint16 port= (quint16) _p[3]->v.i;
  int _setHost = self->QHttp::setHost( hostname, mode, port );
  DaoContext_PutInteger( _ctx, (int) _setHost );
}
/* qhttp.h */
static void dao_QHttp_setHost( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString hostname( _mbs1 );
  quint16 port= (quint16) _p[2]->v.i;
  int _setHost = self->QHttp::setHost( hostname, port );
  DaoContext_PutInteger( _ctx, (int) _setHost );
}
/* qhttp.h */
static void dao_QHttp_setSocket( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  QTcpSocket* socket= (QTcpSocket*) DValue_CastCData( _p[1], dao_QTcpSocket_Typer );
  int _setSocket = self->QHttp::setSocket( socket );
  DaoContext_PutInteger( _ctx, (int) _setSocket );
}
/* qhttp.h */
static void dao_QHttp_setUser( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString username( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString password( _mbs2 );
  int _setUser;
  if(_n<=2) _setUser = self->QHttp::setUser( username );
  else _setUser = self->QHttp::setUser( username, password );
  DaoContext_PutInteger( _ctx, (int) _setUser );
}
/* qhttp.h */
static void dao_QHttp_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttp* self= (QHttp*) DValue_CastCData( _p[0], dao_QHttp_Typer );
  QHttp::State _state = self->QHttp::state(  );
  DaoContext_PutInteger( _ctx, (int) _state );
}

/*  qhttp.h */


static DaoNumItem dao_QHttpHeader_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHttpHeader_QHttpHeader_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_QHttpHeader_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_QHttpHeader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_QHttpHeader_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_QHttpHeader_dao_5( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_addValue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_allValues( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_contentLength( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_contentType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_hasContentLength( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_hasContentType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_hasKey( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_isValid( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_keys( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_majorVersion( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_minorVersion( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_parse( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_parseLine( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_removeAllValues( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_removeValue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_setContentLength( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_setContentType( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_setValid( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_setValue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_toString__QHttpHeader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_toString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpHeader_value( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHttpHeader_Meths[] = 
{
  { dao_QHttpHeader_QHttpHeader_dao_3, "QHttpHeader(  )=>QHttpHeader" },
  { dao_QHttpHeader_QHttpHeader_dao_2, "QHttpHeader( dd : QHttpHeaderPrivate, header : QHttpHeader )=>QHttpHeader" },
  { dao_QHttpHeader_QHttpHeader, "QHttpHeader( dd : QHttpHeaderPrivate, str : string|null=null )=>QHttpHeader" },
  { dao_QHttpHeader_QHttpHeader_dao_4, "QHttpHeader( header : QHttpHeader )=>QHttpHeader" },
  { dao_QHttpHeader_QHttpHeader_dao_5, "QHttpHeader( str : string )=>QHttpHeader" },
  { dao_QHttpHeader_addValue, "addValue( self : QHttpHeader, key : string, value : string )" },
  { dao_QHttpHeader_allValues, "allValues( self : QHttpHeader, key : string )=>QStringList" },
  { dao_QHttpHeader_contentLength, "contentLength( self : QHttpHeader )=>int" },
  { dao_QHttpHeader_contentType, "contentType( self : QHttpHeader )=>string" },
  { dao_QHttpHeader_hasContentLength, "hasContentLength( self : QHttpHeader )=>int" },
  { dao_QHttpHeader_hasContentType, "hasContentType( self : QHttpHeader )=>int" },
  { dao_QHttpHeader_hasKey, "hasKey( self : QHttpHeader, key : string )=>int" },
  { dao_QHttpHeader_isValid, "isValid( self : QHttpHeader )=>int" },
  { dao_QHttpHeader_keys, "keys( self : QHttpHeader )=>QStringList" },
  { dao_QHttpHeader_majorVersion, "majorVersion( self : QHttpHeader )=>int" },
  { dao_QHttpHeader_minorVersion, "minorVersion( self : QHttpHeader )=>int" },
  { dao_QHttpHeader_parse, "parse( self : QHttpHeader, str : string )=>int" },
  { dao_QHttpHeader_parseLine, "parseLine( self : QHttpHeader, line : string, number : int )=>int" },
  { dao_QHttpHeader_removeAllValues, "removeAllValues( self : QHttpHeader, key : string )" },
  { dao_QHttpHeader_removeValue, "removeValue( self : QHttpHeader, key : string )" },
  { dao_QHttpHeader_setContentLength, "setContentLength( self : QHttpHeader, len : int )" },
  { dao_QHttpHeader_setContentType, "setContentType( self : QHttpHeader, type : string )" },
  { dao_QHttpHeader_setValid, "setValid( self : QHttpHeader, _cp0 : int )" },
  { dao_QHttpHeader_setValue, "setValue( self : QHttpHeader, key : string, value : string )" },
  { dao_QHttpHeader_toString, "toString( self : QHttpHeader )=>string" },
  { dao_QHttpHeader_value, "value( self : QHttpHeader, key : string )=>string" },
  { NULL, NULL }
};
static void Dao_QHttpHeader_Delete( void *self )
{
	delete (QHttpHeader*) self;
}

static DaoTypeBase QHttpHeader_Typer = 
{ "QHttpHeader", NULL, 
  dao_QHttpHeader_Nums,
  dao_QHttpHeader_Meths, 
  { 0 },
  { 0 },
  Dao_QHttpHeader_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QHttpHeader_Typer = & QHttpHeader_Typer;
/* qhttp.h */
static void dao_QHttpHeader_QHttpHeader_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QHttpHeader *_self = DaoCxx_QHttpHeader_New(  );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpHeader_QHttpHeader_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeaderPrivate* dd= (QHttpHeaderPrivate*) DValue_CastCData( _p[0], dao_QHttpHeaderPrivate_Typer );
  QHttpHeader* header= (QHttpHeader*) DValue_CastCData( _p[1], dao_QHttpHeader_Typer );
	DaoCxx_QHttpHeader *_self = DaoCxx_QHttpHeader_New( *dd, *header );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpHeader_QHttpHeader( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeaderPrivate* dd= (QHttpHeaderPrivate*) DValue_CastCData( _p[0], dao_QHttpHeaderPrivate_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString str( _mbs1 );
	DaoCxx_QHttpHeader *_self = DaoCxx_QHttpHeader_New( *dd, str );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpHeader_QHttpHeader_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* header= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
	DaoCxx_QHttpHeader *_self = DaoCxx_QHttpHeader_New( *header );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpHeader_QHttpHeader_dao_5( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString str( _mbs0 );
	DaoCxx_QHttpHeader *_self = DaoCxx_QHttpHeader_New( str );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpHeader_addValue( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString key( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString value( _mbs2 );
  self->QHttpHeader::addValue( key, value );
}
/* qhttp.h */
static void dao_QHttpHeader_allValues( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString key( _mbs1 );
  QStringList _allValues = self->QHttpHeader::allValues( key );
  DaoContext_PutCData( _ctx, (void*)new QStringList( _allValues ), dao_QStringList_Typer );
}
/* qhttp.h */
static void dao_QHttpHeader_contentLength( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  uint _contentLength = self->QHttpHeader::contentLength(  );
  DaoContext_PutInteger( _ctx, (int) _contentLength );
}
/* qhttp.h */
static void dao_QHttpHeader_contentType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  QString _contentType = self->QHttpHeader::contentType(  );
  DaoContext_PutMBString( _ctx, _contentType.toLocal8Bit().data() );
}
/* qhttp.h */
static void dao_QHttpHeader_hasContentLength( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  bool _hasContentLength = self->QHttpHeader::hasContentLength(  );
  DaoContext_PutInteger( _ctx, (int) _hasContentLength );
}
/* qhttp.h */
static void dao_QHttpHeader_hasContentType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  bool _hasContentType = self->QHttpHeader::hasContentType(  );
  DaoContext_PutInteger( _ctx, (int) _hasContentType );
}
/* qhttp.h */
static void dao_QHttpHeader_hasKey( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString key( _mbs1 );
  bool _hasKey = self->QHttpHeader::hasKey( key );
  DaoContext_PutInteger( _ctx, (int) _hasKey );
}
/* qhttp.h */
static void dao_QHttpHeader_isValid( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  bool _isValid = self->QHttpHeader::isValid(  );
  DaoContext_PutInteger( _ctx, (int) _isValid );
}
/* qhttp.h */
static void dao_QHttpHeader_keys( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  QStringList _keys = self->QHttpHeader::keys(  );
  DaoContext_PutCData( _ctx, (void*)new QStringList( _keys ), dao_QStringList_Typer );
}
/* qhttp.h */
static void dao_QHttpHeader_majorVersion( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  int _majorVersion = self->majorVersion(  );
  DaoContext_PutInteger( _ctx, (int) _majorVersion );
}
/* qhttp.h */
static void dao_QHttpHeader_minorVersion( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  int _minorVersion = self->minorVersion(  );
  DaoContext_PutInteger( _ctx, (int) _minorVersion );
}
/* qhttp.h */
static void dao_QHttpHeader_parse( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QHttpHeader *self = (DaoCxx_QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString str( _mbs1 );
  bool _parse = self->DaoWrap_parse( str );
  DaoContext_PutInteger( _ctx, (int) _parse );
}
/* qhttp.h */
static void dao_QHttpHeader_parseLine( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QHttpHeader *self = (DaoCxx_QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString line( _mbs1 );
  int number= (int) _p[2]->v.i;
  bool _parseLine = self->DaoWrap_parseLine( line, number );
  DaoContext_PutInteger( _ctx, (int) _parseLine );
}
/* qhttp.h */
static void dao_QHttpHeader_removeAllValues( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString key( _mbs1 );
  self->QHttpHeader::removeAllValues( key );
}
/* qhttp.h */
static void dao_QHttpHeader_removeValue( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString key( _mbs1 );
  self->QHttpHeader::removeValue( key );
}
/* qhttp.h */
static void dao_QHttpHeader_setContentLength( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  int len= (int) _p[1]->v.i;
  self->QHttpHeader::setContentLength( len );
}
/* qhttp.h */
static void dao_QHttpHeader_setContentType( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString type( _mbs1 );
  self->QHttpHeader::setContentType( type );
}
/* qhttp.h */
static void dao_QHttpHeader_setValid( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QHttpHeader *self = (DaoCxx_QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  bool _cp0= (bool) _p[1]->v.i;
  self->DaoWrap_setValid( _cp0 );
}
/* qhttp.h */
static void dao_QHttpHeader_setValue( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString key( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString value( _mbs2 );
  self->QHttpHeader::setValue( key, value );
}
/* qhttp.h */
static void dao_QHttpHeader_toString__QHttpHeader( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  QString _toString = self->QHttpHeader::toString(  );
  DaoContext_PutMBString( _ctx, _toString.toLocal8Bit().data() );
}
/* qhttp.h */
static void dao_QHttpHeader_toString( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QHttpHeader_toString__QHttpHeader( _ctx, _p, _n );
    return;
  }
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  QString _toString = self->toString(  );
  DaoContext_PutMBString( _ctx, _toString.toLocal8Bit().data() );
}
/* qhttp.h */
static void dao_QHttpHeader_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpHeader* self= (QHttpHeader*) DValue_CastCData( _p[0], dao_QHttpHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString key( _mbs1 );
  QString _value = self->QHttpHeader::value( key );
  DaoContext_PutMBString( _ctx, _value.toLocal8Bit().data() );
}

/*  qhttp.h */


static DaoNumItem dao_QHttpHeaderPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QHttpHeaderPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QHttpHeaderPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QHttpHeaderPrivate_Typer = 
{ "QHttpHeaderPrivate", NULL, 
  dao_QHttpHeaderPrivate_Nums,
  dao_QHttpHeaderPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QHttpHeaderPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QHttpHeaderPrivate_Typer = & QHttpHeaderPrivate_Typer;

/*  qhttp.h */


static DaoNumItem dao_QHttpRequestHeader_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHttpRequestHeader_QHttpRequestHeader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpRequestHeader_QHttpRequestHeader_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpRequestHeader_QHttpRequestHeader_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpRequestHeader_QHttpRequestHeader_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpRequestHeader_majorVersion( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpRequestHeader_method( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpRequestHeader_minorVersion( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpRequestHeader_parseLine( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpRequestHeader_path( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpRequestHeader_setRequest( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpRequestHeader_toString( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHttpRequestHeader_Meths[] = 
{
  { dao_QHttpRequestHeader_QHttpRequestHeader, "QHttpRequestHeader(  )=>QHttpRequestHeader" },
  { dao_QHttpRequestHeader_QHttpRequestHeader_dao_3, "QHttpRequestHeader( header : QHttpRequestHeader )=>QHttpRequestHeader" },
  { dao_QHttpRequestHeader_QHttpRequestHeader_dao_4, "QHttpRequestHeader( str : string )=>QHttpRequestHeader" },
  { dao_QHttpRequestHeader_QHttpRequestHeader_dao_2, "QHttpRequestHeader( method : string, path : string, majorVer : int = 1, minorVer : int = 1 )=>QHttpRequestHeader" },
  { dao_QHttpRequestHeader_majorVersion, "majorVersion( self : QHttpRequestHeader )=>int" },
  { dao_QHttpRequestHeader_method, "method( self : QHttpRequestHeader )=>string" },
  { dao_QHttpRequestHeader_minorVersion, "minorVersion( self : QHttpRequestHeader )=>int" },
  { dao_QHttpRequestHeader_parseLine, "parseLine( self : QHttpRequestHeader, line : string, number : int )=>int" },
  { dao_QHttpRequestHeader_path, "path( self : QHttpRequestHeader )=>string" },
  { dao_QHttpRequestHeader_setRequest, "setRequest( self : QHttpRequestHeader, method : string, path : string, majorVer : int = 1, minorVer : int = 1 )" },
  { dao_QHttpRequestHeader_toString, "toString( self : QHttpRequestHeader )=>string" },
  { NULL, NULL }
};
static void Dao_QHttpRequestHeader_Delete( void *self )
{
	delete (QHttpRequestHeader*) self;
}
void* dao_cast_QHttpRequestHeader_to_QHttpHeader( void *data )
{
	return (QHttpHeader*)(QHttpRequestHeader*)data;
}

static DaoTypeBase QHttpRequestHeader_Typer = 
{ "QHttpRequestHeader", NULL, 
  dao_QHttpRequestHeader_Nums,
  dao_QHttpRequestHeader_Meths, 
  { dao_QHttpHeader_Typer, 0 },
  { dao_cast_QHttpRequestHeader_to_QHttpHeader,0 },
  Dao_QHttpRequestHeader_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QHttpRequestHeader_Typer = & QHttpRequestHeader_Typer;
/* qhttp.h */
static void dao_QHttpRequestHeader_QHttpRequestHeader( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QHttpRequestHeader *_self = DaoCxx_QHttpRequestHeader_New(  );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpRequestHeader_QHttpRequestHeader_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpRequestHeader* header= (QHttpRequestHeader*) DValue_CastCData( _p[0], dao_QHttpRequestHeader_Typer );
	DaoCxx_QHttpRequestHeader *_self = DaoCxx_QHttpRequestHeader_New( *header );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpRequestHeader_QHttpRequestHeader_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString str( _mbs0 );
	DaoCxx_QHttpRequestHeader *_self = DaoCxx_QHttpRequestHeader_New( str );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpRequestHeader_QHttpRequestHeader_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString method( _mbs0 );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString path( _mbs1 );
  int majorVer= (int) _p[2]->v.i;
  int minorVer= (int) _p[3]->v.i;
	DaoCxx_QHttpRequestHeader *_self = DaoCxx_QHttpRequestHeader_New( method, path, majorVer, minorVer );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpRequestHeader_majorVersion( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpRequestHeader* self= (QHttpRequestHeader*) DValue_CastCData( _p[0], dao_QHttpRequestHeader_Typer );
  int _majorVersion = self->QHttpRequestHeader::majorVersion(  );
  DaoContext_PutInteger( _ctx, (int) _majorVersion );
}
/* qhttp.h */
static void dao_QHttpRequestHeader_method( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpRequestHeader* self= (QHttpRequestHeader*) DValue_CastCData( _p[0], dao_QHttpRequestHeader_Typer );
  QString _method = self->QHttpRequestHeader::method(  );
  DaoContext_PutMBString( _ctx, _method.toLocal8Bit().data() );
}
/* qhttp.h */
static void dao_QHttpRequestHeader_minorVersion( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpRequestHeader* self= (QHttpRequestHeader*) DValue_CastCData( _p[0], dao_QHttpRequestHeader_Typer );
  int _minorVersion = self->QHttpRequestHeader::minorVersion(  );
  DaoContext_PutInteger( _ctx, (int) _minorVersion );
}
/* qhttp.h */
static void dao_QHttpRequestHeader_parseLine( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QHttpRequestHeader *self = (DaoCxx_QHttpRequestHeader*) DValue_CastCData( _p[0], dao_QHttpRequestHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString line( _mbs1 );
  int number= (int) _p[2]->v.i;
  bool _parseLine = self->DaoWrap_parseLine( line, number );
  DaoContext_PutInteger( _ctx, (int) _parseLine );
}
/* qhttp.h */
static void dao_QHttpRequestHeader_path( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpRequestHeader* self= (QHttpRequestHeader*) DValue_CastCData( _p[0], dao_QHttpRequestHeader_Typer );
  QString _path = self->QHttpRequestHeader::path(  );
  DaoContext_PutMBString( _ctx, _path.toLocal8Bit().data() );
}
/* qhttp.h */
static void dao_QHttpRequestHeader_setRequest( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpRequestHeader* self= (QHttpRequestHeader*) DValue_CastCData( _p[0], dao_QHttpRequestHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString method( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString path( _mbs2 );
  int majorVer= (int) _p[3]->v.i;
  int minorVer= (int) _p[4]->v.i;
  self->QHttpRequestHeader::setRequest( method, path, majorVer, minorVer );
}
/* qhttp.h */
static void dao_QHttpRequestHeader_toString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpRequestHeader* self= (QHttpRequestHeader*) DValue_CastCData( _p[0], dao_QHttpRequestHeader_Typer );
  QString _toString = self->QHttpRequestHeader::toString(  );
  DaoContext_PutMBString( _ctx, _toString.toLocal8Bit().data() );
}

/*  qhttp.h */


static DaoNumItem dao_QHttpResponseHeader_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QHttpResponseHeader_QHttpResponseHeader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpResponseHeader_QHttpResponseHeader_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpResponseHeader_QHttpResponseHeader_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpResponseHeader_QHttpResponseHeader_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpResponseHeader_majorVersion( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpResponseHeader_minorVersion( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpResponseHeader_parseLine( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpResponseHeader_reasonPhrase( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpResponseHeader_setStatusLine( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpResponseHeader_statusCode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QHttpResponseHeader_toString( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QHttpResponseHeader_Meths[] = 
{
  { dao_QHttpResponseHeader_QHttpResponseHeader, "QHttpResponseHeader(  )=>QHttpResponseHeader" },
  { dao_QHttpResponseHeader_QHttpResponseHeader_dao_2, "QHttpResponseHeader( header : QHttpResponseHeader )=>QHttpResponseHeader" },
  { dao_QHttpResponseHeader_QHttpResponseHeader_dao_3, "QHttpResponseHeader( str : string )=>QHttpResponseHeader" },
  { dao_QHttpResponseHeader_QHttpResponseHeader_dao_4, "QHttpResponseHeader( code : int, text : string|null=null, majorVer : int = 1, minorVer : int = 1 )=>QHttpResponseHeader" },
  { dao_QHttpResponseHeader_majorVersion, "majorVersion( self : QHttpResponseHeader )=>int" },
  { dao_QHttpResponseHeader_minorVersion, "minorVersion( self : QHttpResponseHeader )=>int" },
  { dao_QHttpResponseHeader_parseLine, "parseLine( self : QHttpResponseHeader, line : string, number : int )=>int" },
  { dao_QHttpResponseHeader_reasonPhrase, "reasonPhrase( self : QHttpResponseHeader )=>string" },
  { dao_QHttpResponseHeader_setStatusLine, "setStatusLine( self : QHttpResponseHeader, code : int, text : string|null=null, majorVer : int = 1, minorVer : int = 1 )" },
  { dao_QHttpResponseHeader_statusCode, "statusCode( self : QHttpResponseHeader )=>int" },
  { dao_QHttpResponseHeader_toString, "toString( self : QHttpResponseHeader )=>string" },
  { NULL, NULL }
};
static void Dao_QHttpResponseHeader_Delete( void *self )
{
	delete (QHttpResponseHeader*) self;
}
void* dao_cast_QHttpResponseHeader_to_QHttpHeader( void *data )
{
	return (QHttpHeader*)(QHttpResponseHeader*)data;
}

static DaoTypeBase QHttpResponseHeader_Typer = 
{ "QHttpResponseHeader", NULL, 
  dao_QHttpResponseHeader_Nums,
  dao_QHttpResponseHeader_Meths, 
  { dao_QHttpHeader_Typer, 0 },
  { dao_cast_QHttpResponseHeader_to_QHttpHeader,0 },
  Dao_QHttpResponseHeader_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QHttpResponseHeader_Typer = & QHttpResponseHeader_Typer;
/* qhttp.h */
static void dao_QHttpResponseHeader_QHttpResponseHeader( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QHttpResponseHeader *_self = DaoCxx_QHttpResponseHeader_New(  );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpResponseHeader_QHttpResponseHeader_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpResponseHeader* header= (QHttpResponseHeader*) DValue_CastCData( _p[0], dao_QHttpResponseHeader_Typer );
	DaoCxx_QHttpResponseHeader *_self = DaoCxx_QHttpResponseHeader_New( *header );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpResponseHeader_QHttpResponseHeader_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString str( _mbs0 );
	DaoCxx_QHttpResponseHeader *_self = DaoCxx_QHttpResponseHeader_New( str );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpResponseHeader_QHttpResponseHeader_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  int code= (int) _p[0]->v.i;
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString text( _mbs1 );
  int majorVer= (int) _p[2]->v.i;
  int minorVer= (int) _p[3]->v.i;
	DaoCxx_QHttpResponseHeader *_self = DaoCxx_QHttpResponseHeader_New( code, text, majorVer, minorVer );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qhttp.h */
static void dao_QHttpResponseHeader_majorVersion( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpResponseHeader* self= (QHttpResponseHeader*) DValue_CastCData( _p[0], dao_QHttpResponseHeader_Typer );
  int _majorVersion = self->QHttpResponseHeader::majorVersion(  );
  DaoContext_PutInteger( _ctx, (int) _majorVersion );
}
/* qhttp.h */
static void dao_QHttpResponseHeader_minorVersion( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpResponseHeader* self= (QHttpResponseHeader*) DValue_CastCData( _p[0], dao_QHttpResponseHeader_Typer );
  int _minorVersion = self->QHttpResponseHeader::minorVersion(  );
  DaoContext_PutInteger( _ctx, (int) _minorVersion );
}
/* qhttp.h */
static void dao_QHttpResponseHeader_parseLine( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QHttpResponseHeader *self = (DaoCxx_QHttpResponseHeader*) DValue_CastCData( _p[0], dao_QHttpResponseHeader_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString line( _mbs1 );
  int number= (int) _p[2]->v.i;
  bool _parseLine = self->DaoWrap_parseLine( line, number );
  DaoContext_PutInteger( _ctx, (int) _parseLine );
}
/* qhttp.h */
static void dao_QHttpResponseHeader_reasonPhrase( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpResponseHeader* self= (QHttpResponseHeader*) DValue_CastCData( _p[0], dao_QHttpResponseHeader_Typer );
  QString _reasonPhrase = self->QHttpResponseHeader::reasonPhrase(  );
  DaoContext_PutMBString( _ctx, _reasonPhrase.toLocal8Bit().data() );
}
/* qhttp.h */
static void dao_QHttpResponseHeader_setStatusLine( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpResponseHeader* self= (QHttpResponseHeader*) DValue_CastCData( _p[0], dao_QHttpResponseHeader_Typer );
  int code= (int) _p[1]->v.i;
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString text( _mbs2 );
  int majorVer= (int) _p[3]->v.i;
  int minorVer= (int) _p[4]->v.i;
  if(_n<=2) self->QHttpResponseHeader::setStatusLine( code );
  else self->QHttpResponseHeader::setStatusLine( code, text, majorVer, minorVer );
}
/* qhttp.h */
static void dao_QHttpResponseHeader_statusCode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpResponseHeader* self= (QHttpResponseHeader*) DValue_CastCData( _p[0], dao_QHttpResponseHeader_Typer );
  int _statusCode = self->QHttpResponseHeader::statusCode(  );
  DaoContext_PutInteger( _ctx, (int) _statusCode );
}
/* qhttp.h */
static void dao_QHttpResponseHeader_toString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QHttpResponseHeader* self= (QHttpResponseHeader*) DValue_CastCData( _p[0], dao_QHttpResponseHeader_Typer );
  QString _toString = self->QHttpResponseHeader::toString(  );
  DaoContext_PutMBString( _ctx, _toString.toLocal8Bit().data() );
}

/*  qhostaddress.h */


static void dao_QIPv6Address_GETF_c( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QIPv6Address_SETF_c( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QIPv6Address_GETI_c( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QIPv6Address_SETI_c( DaoContext *_ctx, DValue *_p[], int _n );
static DaoNumItem dao_QIPv6Address_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QIPv6Address_QIPv6Address( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QIPv6Address_Meths[] = 
{
  { dao_QIPv6Address_GETF_c, ".c( self : QIPv6Address )=>array<int>" },
  { dao_QIPv6Address_SETF_c, ".c=( self : QIPv6Address, c : array<int> )" },
  { dao_QIPv6Address_GETI_c, "[]( self : QIPv6Address, i : int )=>int" },
  { dao_QIPv6Address_SETI_c, "[]=( self : QIPv6Address, i : int, value : int )" },
  { dao_QIPv6Address_QIPv6Address, "QIPv6Address(  )=>QIPv6Address" },
  { NULL, NULL }
};
static void Dao_QIPv6Address_Delete( void *self )
{
	delete (QIPv6Address*) self;
}

static DaoTypeBase QIPv6Address_Typer = 
{ "QIPv6Address", NULL, 
  dao_QIPv6Address_Nums,
  dao_QIPv6Address_Meths, 
  { 0 },
  { 0 },
  Dao_QIPv6Address_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QIPv6Address_Typer = & QIPv6Address_Typer;
static void dao_QIPv6Address_GETF_c( DaoContext *_ctx, DValue *_p[], int _n )
{
  QIPv6Address *self = (QIPv6Address*)DValue_CastCData(_p[0],dao_QIPv6Address_Typer);
  DaoContext_PutBytes( _ctx, (char*) self->c, 16 );
}
static void dao_QIPv6Address_SETF_c( DaoContext *_ctx, DValue *_p[], int _n )
{
  QIPv6Address *self = (QIPv6Address*)DValue_CastCData(_p[0],dao_QIPv6Address_Typer);
  int size = DString_Size( _p[1]->v.s );
  if( size > 16 ) size = 16;
  memmove( self->c, DValue_GetMBString( _p[1] ), size );
}
static void dao_QIPv6Address_GETI_c( DaoContext *_ctx, DValue *_p[], int _n )
{
  QIPv6Address *self = (QIPv6Address*)DValue_CastCData(_p[0],dao_QIPv6Address_Typer);
  DaoContext_PutInteger( _ctx, (int) self->c[_p[1]->v.i] );
}
static void dao_QIPv6Address_SETI_c( DaoContext *_ctx, DValue *_p[], int _n )
{
  QIPv6Address *self = (QIPv6Address*)DValue_CastCData(_p[0],dao_QIPv6Address_Typer);
  if( _p[1]->v.i < 0 || _p[1]->v.i >= 16 ) return;
  self->c[_p[1]->v.i] = _p[2]->v.i;
}
static void dao_QIPv6Address_QIPv6Address( DaoContext *_ctx, DValue *_p[], int _n )
{
	QIPv6Address *self = Dao_QIPv6Address_New();
	DaoContext_PutCData( _ctx, self, dao_QIPv6Address_Typer );
}

/*  qlocalserver.h */


static DaoNumItem dao_QLocalServer_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QLocalServer_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_QLocalServer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_close( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_errorString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_fullServerName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_hasPendingConnections__QLocalServer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_hasPendingConnections( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_incomingConnection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_isListening( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_listen( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_maxPendingConnections( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_nextPendingConnection__QLocalServer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_nextPendingConnection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_removeServer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_serverError( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_serverName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_setMaxPendingConnections( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalServer_waitForNewConnection( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QLocalServer_Meths[] = 
{
  { dao_QLocalServer_qobject_cast, "qobject_cast( object : QObject )=>QLocalServer" },
  { dao_QLocalServer_QLocalServer, "QLocalServer( parent : QObject|null=null )=>QLocalServer" },
  { dao_QLocalServer_close, "close( self : QLocalServer )" },
  { dao_QLocalServer_errorString, "errorString( self : QLocalServer )=>string" },
  { dao_QLocalServer_fullServerName, "fullServerName( self : QLocalServer )=>string" },
  { dao_QLocalServer_hasPendingConnections, "hasPendingConnections( self : QLocalServer )=>int" },
  { dao_QLocalServer_incomingConnection, "incomingConnection( self : QLocalServer, socketDescriptor : quintptr )" },
  { dao_QLocalServer_isListening, "isListening( self : QLocalServer )=>int" },
  { dao_QLocalServer_listen, "listen( self : QLocalServer, name : string )=>int" },
  { dao_QLocalServer_maxPendingConnections, "maxPendingConnections( self : QLocalServer )=>int" },
  { dao_QLocalServer_nextPendingConnection, "nextPendingConnection( self : QLocalServer )=>QLocalSocket" },
  { dao_QLocalServer_removeServer, "removeServer( name : string )=>int" },
  { dao_QLocalServer_serverError, "serverError( self : QLocalServer )=>int" },
  { dao_QLocalServer_serverName, "serverName( self : QLocalServer )=>string" },
  { dao_QLocalServer_setMaxPendingConnections, "setMaxPendingConnections( self : QLocalServer, numConnections : int )" },
  { dao_QLocalServer_waitForNewConnection, "waitForNewConnection( self : QLocalServer, msec : int = 0, timedOut : int|null=null )=>int" },
  { NULL, NULL }
};
static void Dao_QLocalServer_Delete( void *self )
{
	delete (QLocalServer*) self;
}
void* dao_cast_QLocalServer_to_QObject( void *data )
{
	return (QObject*)(QLocalServer*)data;
}

static DaoTypeBase QLocalServer_Typer = 
{ "QLocalServer", NULL, 
  dao_QLocalServer_Nums,
  dao_QLocalServer_Meths, 
  { dao_QObject_Typer, 0 },
  { dao_cast_QLocalServer_to_QObject,0 },
  Dao_QLocalServer_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QLocalServer_Typer = & QLocalServer_Typer;
static void dao_QLocalServer_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QLocalServer *to2 = qobject_cast<QLocalServer*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QLocalServer_Typer );
}
/* qlocalserver.h */
static void dao_QLocalServer_QLocalServer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QLocalServer *_self = DaoCxx_QLocalServer_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qlocalserver.h */
static void dao_QLocalServer_close( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  self->QLocalServer::close(  );
}
/* qlocalserver.h */
static void dao_QLocalServer_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  QString _errorString = self->QLocalServer::errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}
/* qlocalserver.h */
static void dao_QLocalServer_fullServerName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  QString _fullServerName = self->QLocalServer::fullServerName(  );
  DaoContext_PutMBString( _ctx, _fullServerName.toLocal8Bit().data() );
}
/* qlocalserver.h */
static void dao_QLocalServer_hasPendingConnections__QLocalServer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  bool _hasPendingConnections = self->QLocalServer::hasPendingConnections(  );
  DaoContext_PutInteger( _ctx, (int) _hasPendingConnections );
}
/* qlocalserver.h */
static void dao_QLocalServer_hasPendingConnections( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QLocalServer_hasPendingConnections__QLocalServer( _ctx, _p, _n );
    return;
  }
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  bool _hasPendingConnections = self->hasPendingConnections(  );
  DaoContext_PutInteger( _ctx, (int) _hasPendingConnections );
}
/* qlocalserver.h */
static void dao_QLocalServer_incomingConnection( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QLocalServer *self = (DaoCxx_QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  quintptr* socketDescriptor= (quintptr*) DValue_CastCData( _p[1], dao_quintptr_Typer );
  self->DaoWrap_incomingConnection( *socketDescriptor );
}
/* qlocalserver.h */
static void dao_QLocalServer_isListening( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  bool _isListening = self->QLocalServer::isListening(  );
  DaoContext_PutInteger( _ctx, (int) _isListening );
}
/* qlocalserver.h */
static void dao_QLocalServer_listen( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  bool _listen = self->QLocalServer::listen( name );
  DaoContext_PutInteger( _ctx, (int) _listen );
}
/* qlocalserver.h */
static void dao_QLocalServer_maxPendingConnections( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  int _maxPendingConnections = self->QLocalServer::maxPendingConnections(  );
  DaoContext_PutInteger( _ctx, (int) _maxPendingConnections );
}
/* qlocalserver.h */
static void dao_QLocalServer_nextPendingConnection__QLocalServer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  QLocalSocket* _nextPendingConnection = self->QLocalServer::nextPendingConnection(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _nextPendingConnection );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QLocalSocket_InitSS( (QLocalSocket*) _nextPendingConnection );
    DaoContext_WrapCData( _ctx, (void*) _nextPendingConnection, dao_QLocalSocket_Typer );
  }
}
/* qlocalserver.h */
static void dao_QLocalServer_nextPendingConnection( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QLocalServer_nextPendingConnection__QLocalServer( _ctx, _p, _n );
    return;
  }
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  QLocalSocket* _nextPendingConnection = self->nextPendingConnection(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _nextPendingConnection );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QLocalSocket_InitSS( (QLocalSocket*) _nextPendingConnection );
    DaoContext_WrapCData( _ctx, (void*) _nextPendingConnection, dao_QLocalSocket_Typer );
  }
}
/* qlocalserver.h */
static void dao_QLocalServer_removeServer( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString name( _mbs0 );
  bool _removeServer = QLocalServer::removeServer( name );
  DaoContext_PutInteger( _ctx, (int) _removeServer );
}
/* qlocalserver.h */
static void dao_QLocalServer_serverError( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  QAbstractSocket::SocketError _serverError = self->QLocalServer::serverError(  );
  DaoContext_PutInteger( _ctx, (int) _serverError );
}
/* qlocalserver.h */
static void dao_QLocalServer_serverName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  QString _serverName = self->QLocalServer::serverName(  );
  DaoContext_PutMBString( _ctx, _serverName.toLocal8Bit().data() );
}
/* qlocalserver.h */
static void dao_QLocalServer_setMaxPendingConnections( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  int numConnections= (int) _p[1]->v.i;
  self->QLocalServer::setMaxPendingConnections( numConnections );
}
/* qlocalserver.h */
static void dao_QLocalServer_waitForNewConnection( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalServer* self= (QLocalServer*) DValue_CastCData( _p[0], dao_QLocalServer_Typer );
  int msec= (int) _p[1]->v.i;
  bool timedOut= (bool) _p[2]->v.i;
  bool _waitForNewConnection = self->QLocalServer::waitForNewConnection( msec, & timedOut );
  _p[2]->v.i = (int) timedOut;
  DaoContext_PutInteger( _ctx, (int) _waitForNewConnection );
}

/*  qlocalsocket.h */


static DaoNumItem dao_QLocalSocket_Nums[] =
{
  { "ConnectionRefusedError", DAO_INTEGER, QLocalSocket::ConnectionRefusedError },
  { "PeerClosedError", DAO_INTEGER, QLocalSocket::PeerClosedError },
  { "ServerNotFoundError", DAO_INTEGER, QLocalSocket::ServerNotFoundError },
  { "SocketAccessError", DAO_INTEGER, QLocalSocket::SocketAccessError },
  { "SocketResourceError", DAO_INTEGER, QLocalSocket::SocketResourceError },
  { "SocketTimeoutError", DAO_INTEGER, QLocalSocket::SocketTimeoutError },
  { "DatagramTooLargeError", DAO_INTEGER, QLocalSocket::DatagramTooLargeError },
  { "ConnectionError", DAO_INTEGER, QLocalSocket::ConnectionError },
  { "UnsupportedSocketOperationError", DAO_INTEGER, QLocalSocket::UnsupportedSocketOperationError },
  { "UnknownSocketError", DAO_INTEGER, QLocalSocket::UnknownSocketError },
  { "UnconnectedState", DAO_INTEGER, QLocalSocket::UnconnectedState },
  { "ConnectingState", DAO_INTEGER, QLocalSocket::ConnectingState },
  { "ConnectedState", DAO_INTEGER, QLocalSocket::ConnectedState },
  { "ClosingState", DAO_INTEGER, QLocalSocket::ClosingState },
  { NULL, 0, 0 }
};
static void dao_QLocalSocket_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_QLocalSocket( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_abort( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_bytesAvailable__QLocalSocket( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_bytesAvailable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_bytesToWrite__QLocalSocket( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_bytesToWrite( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_canReadLine__QLocalSocket( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_canReadLine( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_close__QLocalSocket( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_close( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_connectToServer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_disconnectFromServer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_error( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_flush( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_fullServerName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_isSequential__QLocalSocket( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_isSequential( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_isValid( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_readBufferSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_readData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_serverName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_setReadBufferSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_setSocketDescriptor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_socketDescriptor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_state( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_waitForBytesWritten( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_waitForConnected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_waitForDisconnected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_waitForReadyRead( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QLocalSocket_writeData( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QLocalSocket_Meths[] = 
{
  { dao_QLocalSocket_qobject_cast, "qobject_cast( object : QObject )=>QLocalSocket" },
  { dao_QLocalSocket_QLocalSocket, "QLocalSocket( parent : QObject|null=null )=>QLocalSocket" },
  { dao_QLocalSocket_abort, "abort( self : QLocalSocket )" },
  { dao_QLocalSocket_bytesAvailable, "bytesAvailable( self : QLocalSocket )=>double" },
  { dao_QLocalSocket_bytesToWrite, "bytesToWrite( self : QLocalSocket )=>double" },
  { dao_QLocalSocket_canReadLine, "canReadLine( self : QLocalSocket )=>int" },
  { dao_QLocalSocket_close, "close( self : QLocalSocket )" },
  { dao_QLocalSocket_connectToServer, "connectToServer( self : QLocalSocket, name : string, openMode : int = ReadWrite )" },
  { dao_QLocalSocket_disconnectFromServer, "disconnectFromServer( self : QLocalSocket )" },
  { dao_QLocalSocket_error, "error( self : QLocalSocket )=>int" },
  { dao_QLocalSocket_flush, "flush( self : QLocalSocket )=>int" },
  { dao_QLocalSocket_fullServerName, "fullServerName( self : QLocalSocket )=>string" },
  { dao_QLocalSocket_isSequential, "isSequential( self : QLocalSocket )=>int" },
  { dao_QLocalSocket_isValid, "isValid( self : QLocalSocket )=>int" },
  { dao_QLocalSocket_readBufferSize, "readBufferSize( self : QLocalSocket )=>double" },
  { dao_QLocalSocket_readData, "readData( self : QLocalSocket, _cp0 : string, _cp1 : double )=>double" },
  { dao_QLocalSocket_serverName, "serverName( self : QLocalSocket )=>string" },
  { dao_QLocalSocket_setReadBufferSize, "setReadBufferSize( self : QLocalSocket, size : double )" },
  { dao_QLocalSocket_setSocketDescriptor, "setSocketDescriptor( self : QLocalSocket, socketDescriptor : quintptr, socketState : int = ConnectedState, openMode : int = ReadWrite )=>int" },
  { dao_QLocalSocket_socketDescriptor, "socketDescriptor( self : QLocalSocket )=>quintptr" },
  { dao_QLocalSocket_state, "state( self : QLocalSocket )=>int" },
  { dao_QLocalSocket_waitForBytesWritten, "waitForBytesWritten( self : QLocalSocket, msecs : int = 30000 )=>int" },
  { dao_QLocalSocket_waitForConnected, "waitForConnected( self : QLocalSocket, msecs : int = 30000 )=>int" },
  { dao_QLocalSocket_waitForDisconnected, "waitForDisconnected( self : QLocalSocket, msecs : int = 30000 )=>int" },
  { dao_QLocalSocket_waitForReadyRead, "waitForReadyRead( self : QLocalSocket, msecs : int = 30000 )=>int" },
  { dao_QLocalSocket_writeData, "writeData( self : QLocalSocket, _cp0 : string, _cp1 : double )=>double" },
  { NULL, NULL }
};
static void Dao_QLocalSocket_Delete( void *self )
{
	delete (QLocalSocket*) self;
}
void* dao_cast_QLocalSocket_to_QIODevice( void *data )
{
	return (QIODevice*)(QLocalSocket*)data;
}

static DaoTypeBase QLocalSocket_Typer = 
{ "QLocalSocket", NULL, 
  dao_QLocalSocket_Nums,
  dao_QLocalSocket_Meths, 
  { dao_QIODevice_Typer, 0 },
  { dao_cast_QLocalSocket_to_QIODevice,0 },
  Dao_QLocalSocket_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QLocalSocket_Typer = & QLocalSocket_Typer;
static void dao_QLocalSocket_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QLocalSocket *to2 = qobject_cast<QLocalSocket*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QLocalSocket_Typer );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_QLocalSocket( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QLocalSocket *_self = DaoCxx_QLocalSocket_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_abort( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  self->QLocalSocket::abort(  );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_bytesAvailable__QLocalSocket( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  qint64 _bytesAvailable = self->QLocalSocket::bytesAvailable(  );
  DaoContext_PutDouble( _ctx, (double) _bytesAvailable );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_bytesAvailable( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QLocalSocket_bytesAvailable__QLocalSocket( _ctx, _p, _n );
    return;
  }
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  qint64 _bytesAvailable = self->bytesAvailable(  );
  DaoContext_PutDouble( _ctx, (double) _bytesAvailable );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_bytesToWrite__QLocalSocket( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  qint64 _bytesToWrite = self->QLocalSocket::bytesToWrite(  );
  DaoContext_PutDouble( _ctx, (double) _bytesToWrite );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_bytesToWrite( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QLocalSocket_bytesToWrite__QLocalSocket( _ctx, _p, _n );
    return;
  }
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  qint64 _bytesToWrite = self->bytesToWrite(  );
  DaoContext_PutDouble( _ctx, (double) _bytesToWrite );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_canReadLine__QLocalSocket( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  bool _canReadLine = self->QLocalSocket::canReadLine(  );
  DaoContext_PutInteger( _ctx, (int) _canReadLine );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_canReadLine( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QLocalSocket_canReadLine__QLocalSocket( _ctx, _p, _n );
    return;
  }
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  bool _canReadLine = self->canReadLine(  );
  DaoContext_PutInteger( _ctx, (int) _canReadLine );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_close__QLocalSocket( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  self->QLocalSocket::close(  );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_close( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QLocalSocket_close__QLocalSocket( _ctx, _p, _n );
    return;
  }
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  self->close(  );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_connectToServer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  QLocalSocket::OpenMode openMode= (QLocalSocket::OpenMode) _p[2]->v.i;
  self->QLocalSocket::connectToServer( name, openMode );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_disconnectFromServer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  self->QLocalSocket::disconnectFromServer(  );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_error( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  QLocalSocket::LocalSocketError _error = self->QLocalSocket::error(  );
  DaoContext_PutInteger( _ctx, (int) _error );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_flush( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  bool _flush = self->QLocalSocket::flush(  );
  DaoContext_PutInteger( _ctx, (int) _flush );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_fullServerName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  QString _fullServerName = self->QLocalSocket::fullServerName(  );
  DaoContext_PutMBString( _ctx, _fullServerName.toLocal8Bit().data() );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_isSequential__QLocalSocket( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  bool _isSequential = self->QLocalSocket::isSequential(  );
  DaoContext_PutInteger( _ctx, (int) _isSequential );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_isSequential( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QLocalSocket_isSequential__QLocalSocket( _ctx, _p, _n );
    return;
  }
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  bool _isSequential = self->isSequential(  );
  DaoContext_PutInteger( _ctx, (int) _isSequential );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_isValid( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  bool _isValid = self->QLocalSocket::isValid(  );
  DaoContext_PutInteger( _ctx, (int) _isValid );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_readBufferSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  qint64 _readBufferSize = self->QLocalSocket::readBufferSize(  );
  DaoContext_PutDouble( _ctx, (double) _readBufferSize );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_readData( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QLocalSocket *self = (DaoCxx_QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  char* _cp0= (char*) DValue_GetMBString( _p[1] );
  qint64 _cp1= (qint64) _p[2]->v.d;
  qint64 _readData = self->DaoWrap_readData( _cp0, _cp1 );
  DString_SetMBS( _p[1]->v.s, (char*) _cp0 );
  DaoContext_PutDouble( _ctx, (double) _readData );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_serverName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  QString _serverName = self->QLocalSocket::serverName(  );
  DaoContext_PutMBString( _ctx, _serverName.toLocal8Bit().data() );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_setReadBufferSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  qint64 size= (qint64) _p[1]->v.d;
  self->QLocalSocket::setReadBufferSize( size );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_setSocketDescriptor( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  quintptr* socketDescriptor= (quintptr*) DValue_CastCData( _p[1], dao_quintptr_Typer );
  QLocalSocket::LocalSocketState socketState= (QLocalSocket::LocalSocketState) _p[2]->v.i;
  QLocalSocket::OpenMode openMode= (QLocalSocket::OpenMode) _p[3]->v.i;
  bool _setSocketDescriptor = self->QLocalSocket::setSocketDescriptor( *socketDescriptor, socketState, openMode );
  DaoContext_PutInteger( _ctx, (int) _setSocketDescriptor );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_socketDescriptor( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  quintptr _socketDescriptor = self->QLocalSocket::socketDescriptor(  );
  DaoContext_CopyCData( _ctx, (void*)& _socketDescriptor, sizeof(quintptr), dao_quintptr_Typer );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_state( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  QLocalSocket::LocalSocketState _state = self->QLocalSocket::state(  );
  DaoContext_PutInteger( _ctx, (int) _state );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_waitForBytesWritten( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForBytesWritten = self->QLocalSocket::waitForBytesWritten( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForBytesWritten );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_waitForConnected( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForConnected = self->QLocalSocket::waitForConnected( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForConnected );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_waitForDisconnected( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForDisconnected = self->QLocalSocket::waitForDisconnected( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForDisconnected );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_waitForReadyRead( DaoContext *_ctx, DValue *_p[], int _n )
{
  QLocalSocket* self= (QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForReadyRead = self->QLocalSocket::waitForReadyRead( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForReadyRead );
}
/* qlocalsocket.h */
static void dao_QLocalSocket_writeData( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QLocalSocket *self = (DaoCxx_QLocalSocket*) DValue_CastCData( _p[0], dao_QLocalSocket_Typer );
  char* _cp0= (char*) DValue_GetMBString( _p[1] );
  qint64 _cp1= (qint64) _p[2]->v.d;
  qint64 _writeData = self->DaoWrap_writeData( _cp0, _cp1 );
  DaoContext_PutDouble( _ctx, (double) _writeData );
}

/*  qnetworkaccessmanager.h */


static DaoNumItem dao_QNetworkAccessManager_Nums[] =
{
  { "HeadOperation", DAO_INTEGER, QNetworkAccessManager::HeadOperation },
  { "GetOperation", DAO_INTEGER, QNetworkAccessManager::GetOperation },
  { "PutOperation", DAO_INTEGER, QNetworkAccessManager::PutOperation },
  { "PostOperation", DAO_INTEGER, QNetworkAccessManager::PostOperation },
  { "DeleteOperation", DAO_INTEGER, QNetworkAccessManager::DeleteOperation },
  { "CustomOperation", DAO_INTEGER, QNetworkAccessManager::CustomOperation },
  { "UnknownOperation", DAO_INTEGER, QNetworkAccessManager::UnknownOperation },
  { "UnknownAccessibility", DAO_INTEGER, QNetworkAccessManager::UnknownAccessibility },
  { "NotAccessible", DAO_INTEGER, QNetworkAccessManager::NotAccessible },
  { "Accessible", DAO_INTEGER, QNetworkAccessManager::Accessible },
  { NULL, 0, 0 }
};
static void dao_QNetworkAccessManager_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_QNetworkAccessManager( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_cache( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_cookieJar( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_createRequest( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_deleteResource( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_get( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_head( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_networkAccessible( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_post( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_post_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_put( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_put_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_sendCustomRequest( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_setCache( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_setCookieJar( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAccessManager_setNetworkAccessible( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QNetworkAccessManager_Meths[] = 
{
  { dao_QNetworkAccessManager_qobject_cast, "qobject_cast( object : QObject )=>QNetworkAccessManager" },
  { dao_QNetworkAccessManager_QNetworkAccessManager, "QNetworkAccessManager( parent : QObject|null=null )=>QNetworkAccessManager" },
  { dao_QNetworkAccessManager_cache, "cache( self : QNetworkAccessManager )=>QAbstractNetworkCache" },
  { dao_QNetworkAccessManager_cookieJar, "cookieJar( self : QNetworkAccessManager )=>QNetworkCookieJar" },
  { dao_QNetworkAccessManager_createRequest, "createRequest( self : QNetworkAccessManager, op : int, request : QNetworkRequest, outgoingData : QIODevice|null=null )=>QNetworkReply" },
  { dao_QNetworkAccessManager_deleteResource, "deleteResource( self : QNetworkAccessManager, request : QNetworkRequest )=>QNetworkReply" },
  { dao_QNetworkAccessManager_get, "get( self : QNetworkAccessManager, request : QNetworkRequest )=>QNetworkReply" },
  { dao_QNetworkAccessManager_head, "head( self : QNetworkAccessManager, request : QNetworkRequest )=>QNetworkReply" },
  { dao_QNetworkAccessManager_networkAccessible, "networkAccessible( self : QNetworkAccessManager )=>int" },
  { dao_QNetworkAccessManager_post, "post( self : QNetworkAccessManager, request : QNetworkRequest, data : QIODevice )=>QNetworkReply" },
  { dao_QNetworkAccessManager_post_dao_2, "post( self : QNetworkAccessManager, request : QNetworkRequest, data : string )=>QNetworkReply" },
  { dao_QNetworkAccessManager_put, "put( self : QNetworkAccessManager, request : QNetworkRequest, data : QIODevice )=>QNetworkReply" },
  { dao_QNetworkAccessManager_put_dao_2, "put( self : QNetworkAccessManager, request : QNetworkRequest, data : string )=>QNetworkReply" },
  { dao_QNetworkAccessManager_sendCustomRequest, "sendCustomRequest( self : QNetworkAccessManager, request : QNetworkRequest, verb : string, data : QIODevice|null=null )=>QNetworkReply" },
  { dao_QNetworkAccessManager_setCache, "setCache( self : QNetworkAccessManager, cache : QAbstractNetworkCache )" },
  { dao_QNetworkAccessManager_setCookieJar, "setCookieJar( self : QNetworkAccessManager, cookieJar : QNetworkCookieJar )" },
  { dao_QNetworkAccessManager_setNetworkAccessible, "setNetworkAccessible( self : QNetworkAccessManager, accessible : int )" },
  { NULL, NULL }
};
static void Dao_QNetworkAccessManager_Delete( void *self )
{
	delete (QNetworkAccessManager*) self;
}
void* dao_cast_QNetworkAccessManager_to_QObject( void *data )
{
	return (QObject*)(QNetworkAccessManager*)data;
}

static DaoTypeBase QNetworkAccessManager_Typer = 
{ "QNetworkAccessManager", NULL, 
  dao_QNetworkAccessManager_Nums,
  dao_QNetworkAccessManager_Meths, 
  { dao_QObject_Typer, 0 },
  { dao_cast_QNetworkAccessManager_to_QObject,0 },
  Dao_QNetworkAccessManager_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkAccessManager_Typer = & QNetworkAccessManager_Typer;
static void dao_QNetworkAccessManager_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QNetworkAccessManager *to2 = qobject_cast<QNetworkAccessManager*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QNetworkAccessManager_Typer );
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_QNetworkAccessManager( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QNetworkAccessManager *_self = DaoCxx_QNetworkAccessManager_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_cache( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QAbstractNetworkCache* _cache = self->QNetworkAccessManager::cache(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _cache );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QAbstractNetworkCache_InitSS( (QAbstractNetworkCache*) _cache );
    DaoContext_WrapCData( _ctx, (void*) _cache, dao_QAbstractNetworkCache_Typer );
  }
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_cookieJar( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkCookieJar* _cookieJar = self->QNetworkAccessManager::cookieJar(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _cookieJar );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QNetworkCookieJar_InitSS( (QNetworkCookieJar*) _cookieJar );
    DaoContext_WrapCData( _ctx, (void*) _cookieJar, dao_QNetworkCookieJar_Typer );
  }
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_createRequest( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QNetworkAccessManager *self = (DaoCxx_QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkAccessManager::Operation op= (QNetworkAccessManager::Operation) _p[1]->v.i;
  QNetworkRequest* request= (QNetworkRequest*) DValue_CastCData( _p[2], dao_QNetworkRequest_Typer );
  QIODevice* outgoingData= (QIODevice*) DValue_CastCData( _p[3], dao_QIODevice_Typer );
  QNetworkReply* _createRequest = self->DaoWrap_createRequest( op, *request, outgoingData );
  DaoBase *dbase = DaoQt_Get_Wrapper( _createRequest );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QNetworkReply_InitSS( (QNetworkReply*) _createRequest );
    DaoContext_WrapCData( _ctx, (void*) _createRequest, dao_QNetworkReply_Typer );
  }
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_deleteResource( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkRequest* request= (QNetworkRequest*) DValue_CastCData( _p[1], dao_QNetworkRequest_Typer );
  QNetworkReply* _deleteResource = self->QNetworkAccessManager::deleteResource( *request );
  DaoBase *dbase = DaoQt_Get_Wrapper( _deleteResource );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QNetworkReply_InitSS( (QNetworkReply*) _deleteResource );
    DaoContext_WrapCData( _ctx, (void*) _deleteResource, dao_QNetworkReply_Typer );
  }
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_get( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkRequest* request= (QNetworkRequest*) DValue_CastCData( _p[1], dao_QNetworkRequest_Typer );
  QNetworkReply* _get = self->QNetworkAccessManager::get( *request );
  DaoBase *dbase = DaoQt_Get_Wrapper( _get );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QNetworkReply_InitSS( (QNetworkReply*) _get );
    DaoContext_WrapCData( _ctx, (void*) _get, dao_QNetworkReply_Typer );
  }
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_head( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkRequest* request= (QNetworkRequest*) DValue_CastCData( _p[1], dao_QNetworkRequest_Typer );
  QNetworkReply* _head = self->QNetworkAccessManager::head( *request );
  DaoBase *dbase = DaoQt_Get_Wrapper( _head );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QNetworkReply_InitSS( (QNetworkReply*) _head );
    DaoContext_WrapCData( _ctx, (void*) _head, dao_QNetworkReply_Typer );
  }
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_networkAccessible( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkAccessManager::NetworkAccessibility _networkAccessible = self->QNetworkAccessManager::networkAccessible(  );
  DaoContext_PutInteger( _ctx, (int) _networkAccessible );
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_post( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkRequest* request= (QNetworkRequest*) DValue_CastCData( _p[1], dao_QNetworkRequest_Typer );
  QIODevice* data= (QIODevice*) DValue_CastCData( _p[2], dao_QIODevice_Typer );
  QNetworkReply* _post = self->QNetworkAccessManager::post( *request, data );
  DaoBase *dbase = DaoQt_Get_Wrapper( _post );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QNetworkReply_InitSS( (QNetworkReply*) _post );
    DaoContext_WrapCData( _ctx, (void*) _post, dao_QNetworkReply_Typer );
  }
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_post_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkRequest* request= (QNetworkRequest*) DValue_CastCData( _p[1], dao_QNetworkRequest_Typer );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QByteArray data( _mbs2 );
  QNetworkReply* _post = self->QNetworkAccessManager::post( *request, data );
  DaoBase *dbase = DaoQt_Get_Wrapper( _post );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QNetworkReply_InitSS( (QNetworkReply*) _post );
    DaoContext_WrapCData( _ctx, (void*) _post, dao_QNetworkReply_Typer );
  }
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_put( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkRequest* request= (QNetworkRequest*) DValue_CastCData( _p[1], dao_QNetworkRequest_Typer );
  QIODevice* data= (QIODevice*) DValue_CastCData( _p[2], dao_QIODevice_Typer );
  QNetworkReply* _put = self->QNetworkAccessManager::put( *request, data );
  DaoBase *dbase = DaoQt_Get_Wrapper( _put );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QNetworkReply_InitSS( (QNetworkReply*) _put );
    DaoContext_WrapCData( _ctx, (void*) _put, dao_QNetworkReply_Typer );
  }
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_put_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkRequest* request= (QNetworkRequest*) DValue_CastCData( _p[1], dao_QNetworkRequest_Typer );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QByteArray data( _mbs2 );
  QNetworkReply* _put = self->QNetworkAccessManager::put( *request, data );
  DaoBase *dbase = DaoQt_Get_Wrapper( _put );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QNetworkReply_InitSS( (QNetworkReply*) _put );
    DaoContext_WrapCData( _ctx, (void*) _put, dao_QNetworkReply_Typer );
  }
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_sendCustomRequest( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkRequest* request= (QNetworkRequest*) DValue_CastCData( _p[1], dao_QNetworkRequest_Typer );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QByteArray verb( _mbs2 );
  QIODevice* data= (QIODevice*) DValue_CastCData( _p[3], dao_QIODevice_Typer );
  QNetworkReply* _sendCustomRequest = self->QNetworkAccessManager::sendCustomRequest( *request, verb, data );
  DaoBase *dbase = DaoQt_Get_Wrapper( _sendCustomRequest );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QNetworkReply_InitSS( (QNetworkReply*) _sendCustomRequest );
    DaoContext_WrapCData( _ctx, (void*) _sendCustomRequest, dao_QNetworkReply_Typer );
  }
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_setCache( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QAbstractNetworkCache* cache= (QAbstractNetworkCache*) DValue_CastCData( _p[1], dao_QAbstractNetworkCache_Typer );
  self->QNetworkAccessManager::setCache( cache );
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_setCookieJar( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkCookieJar* cookieJar= (QNetworkCookieJar*) DValue_CastCData( _p[1], dao_QNetworkCookieJar_Typer );
  self->QNetworkAccessManager::setCookieJar( cookieJar );
}
/* qnetworkaccessmanager.h */
static void dao_QNetworkAccessManager_setNetworkAccessible( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAccessManager* self= (QNetworkAccessManager*) DValue_CastCData( _p[0], dao_QNetworkAccessManager_Typer );
  QNetworkAccessManager::NetworkAccessibility accessible= (QNetworkAccessManager::NetworkAccessibility) _p[1]->v.i;
  self->QNetworkAccessManager::setNetworkAccessible( accessible );
}

/*  qnetworkinterface.h */


static DaoNumItem dao_QNetworkAddressEntry_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QNetworkAddressEntry_QNetworkAddressEntry( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAddressEntry_QNetworkAddressEntry_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAddressEntry_broadcast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAddressEntry_ip( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAddressEntry_netmask( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAddressEntry_prefixLength( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAddressEntry_setBroadcast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAddressEntry_setIp( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAddressEntry_setNetmask( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkAddressEntry_setPrefixLength( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QNetworkAddressEntry_Meths[] = 
{
  { dao_QNetworkAddressEntry_QNetworkAddressEntry, "QNetworkAddressEntry(  )=>QNetworkAddressEntry" },
  { dao_QNetworkAddressEntry_QNetworkAddressEntry_dao_2, "QNetworkAddressEntry( other : QNetworkAddressEntry )=>QNetworkAddressEntry" },
  { dao_QNetworkAddressEntry_broadcast, "broadcast( self : QNetworkAddressEntry )=>QHostAddress" },
  { dao_QNetworkAddressEntry_ip, "ip( self : QNetworkAddressEntry )=>QHostAddress" },
  { dao_QNetworkAddressEntry_netmask, "netmask( self : QNetworkAddressEntry )=>QHostAddress" },
  { dao_QNetworkAddressEntry_prefixLength, "prefixLength( self : QNetworkAddressEntry )=>int" },
  { dao_QNetworkAddressEntry_setBroadcast, "setBroadcast( self : QNetworkAddressEntry, newBroadcast : QHostAddress )" },
  { dao_QNetworkAddressEntry_setIp, "setIp( self : QNetworkAddressEntry, newIp : QHostAddress )" },
  { dao_QNetworkAddressEntry_setNetmask, "setNetmask( self : QNetworkAddressEntry, newNetmask : QHostAddress )" },
  { dao_QNetworkAddressEntry_setPrefixLength, "setPrefixLength( self : QNetworkAddressEntry, length : int )" },
  { NULL, NULL }
};
static void Dao_QNetworkAddressEntry_Delete( void *self )
{
	delete (QNetworkAddressEntry*) self;
}

static DaoTypeBase QNetworkAddressEntry_Typer = 
{ "QNetworkAddressEntry", NULL, 
  dao_QNetworkAddressEntry_Nums,
  dao_QNetworkAddressEntry_Meths, 
  { 0 },
  { 0 },
  Dao_QNetworkAddressEntry_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkAddressEntry_Typer = & QNetworkAddressEntry_Typer;
/* qnetworkinterface.h */
static void dao_QNetworkAddressEntry_QNetworkAddressEntry( DaoContext *_ctx, DValue *_p[], int _n )
{
	QNetworkAddressEntry *_self = Dao_QNetworkAddressEntry_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QNetworkAddressEntry_Typer );
}
/* qnetworkinterface.h */
static void dao_QNetworkAddressEntry_QNetworkAddressEntry_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAddressEntry* other= (QNetworkAddressEntry*) DValue_CastCData( _p[0], dao_QNetworkAddressEntry_Typer );
	QNetworkAddressEntry *_self = Dao_QNetworkAddressEntry_New( *other );
	DaoContext_PutCData( _ctx, _self, dao_QNetworkAddressEntry_Typer );
}
/* qnetworkinterface.h */
static void dao_QNetworkAddressEntry_broadcast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAddressEntry* self= (QNetworkAddressEntry*) DValue_CastCData( _p[0], dao_QNetworkAddressEntry_Typer );
  QHostAddress _broadcast = self->QNetworkAddressEntry::broadcast(  );
  DaoContext_PutCData( _ctx, (void*)new QHostAddress( _broadcast ), dao_QHostAddress_Typer );
}
/* qnetworkinterface.h */
static void dao_QNetworkAddressEntry_ip( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAddressEntry* self= (QNetworkAddressEntry*) DValue_CastCData( _p[0], dao_QNetworkAddressEntry_Typer );
  QHostAddress _ip = self->QNetworkAddressEntry::ip(  );
  DaoContext_PutCData( _ctx, (void*)new QHostAddress( _ip ), dao_QHostAddress_Typer );
}
/* qnetworkinterface.h */
static void dao_QNetworkAddressEntry_netmask( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAddressEntry* self= (QNetworkAddressEntry*) DValue_CastCData( _p[0], dao_QNetworkAddressEntry_Typer );
  QHostAddress _netmask = self->QNetworkAddressEntry::netmask(  );
  DaoContext_PutCData( _ctx, (void*)new QHostAddress( _netmask ), dao_QHostAddress_Typer );
}
/* qnetworkinterface.h */
static void dao_QNetworkAddressEntry_prefixLength( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAddressEntry* self= (QNetworkAddressEntry*) DValue_CastCData( _p[0], dao_QNetworkAddressEntry_Typer );
  int _prefixLength = self->QNetworkAddressEntry::prefixLength(  );
  DaoContext_PutInteger( _ctx, (int) _prefixLength );
}
/* qnetworkinterface.h */
static void dao_QNetworkAddressEntry_setBroadcast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAddressEntry* self= (QNetworkAddressEntry*) DValue_CastCData( _p[0], dao_QNetworkAddressEntry_Typer );
  QHostAddress* newBroadcast= (QHostAddress*) DValue_CastCData( _p[1], dao_QHostAddress_Typer );
  self->QNetworkAddressEntry::setBroadcast( *newBroadcast );
}
/* qnetworkinterface.h */
static void dao_QNetworkAddressEntry_setIp( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAddressEntry* self= (QNetworkAddressEntry*) DValue_CastCData( _p[0], dao_QNetworkAddressEntry_Typer );
  QHostAddress* newIp= (QHostAddress*) DValue_CastCData( _p[1], dao_QHostAddress_Typer );
  self->QNetworkAddressEntry::setIp( *newIp );
}
/* qnetworkinterface.h */
static void dao_QNetworkAddressEntry_setNetmask( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAddressEntry* self= (QNetworkAddressEntry*) DValue_CastCData( _p[0], dao_QNetworkAddressEntry_Typer );
  QHostAddress* newNetmask= (QHostAddress*) DValue_CastCData( _p[1], dao_QHostAddress_Typer );
  self->QNetworkAddressEntry::setNetmask( *newNetmask );
}
/* qnetworkinterface.h */
static void dao_QNetworkAddressEntry_setPrefixLength( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkAddressEntry* self= (QNetworkAddressEntry*) DValue_CastCData( _p[0], dao_QNetworkAddressEntry_Typer );
  int length= (int) _p[1]->v.i;
  self->QNetworkAddressEntry::setPrefixLength( length );
}

/*  qabstractnetworkcache.h */


static DaoNumItem dao_QNetworkCacheMetaData_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QNetworkCacheMetaData_QNetworkCacheMetaData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_QNetworkCacheMetaData_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_attributes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_expirationDate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_isValid( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_lastModified( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_rawHeaders( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_saveToDisk( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_setAttributes( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_setExpirationDate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_setLastModified( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_setRawHeaders( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_setSaveToDisk( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_setUrl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCacheMetaData_url( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QNetworkCacheMetaData_Meths[] = 
{
  { dao_QNetworkCacheMetaData_QNetworkCacheMetaData, "QNetworkCacheMetaData(  )=>QNetworkCacheMetaData" },
  { dao_QNetworkCacheMetaData_QNetworkCacheMetaData_dao_2, "QNetworkCacheMetaData( other : QNetworkCacheMetaData )=>QNetworkCacheMetaData" },
  { dao_QNetworkCacheMetaData_attributes, "attributes( self : QNetworkCacheMetaData )=>QNetworkCacheMetaData_AttributesMap" },
  { dao_QNetworkCacheMetaData_expirationDate, "expirationDate( self : QNetworkCacheMetaData )=>QDateTime" },
  { dao_QNetworkCacheMetaData_isValid, "isValid( self : QNetworkCacheMetaData )=>int" },
  { dao_QNetworkCacheMetaData_lastModified, "lastModified( self : QNetworkCacheMetaData )=>QDateTime" },
  { dao_QNetworkCacheMetaData_rawHeaders, "rawHeaders( self : QNetworkCacheMetaData )=>QNetworkCacheMetaData_RawHeaderList" },
  { dao_QNetworkCacheMetaData_saveToDisk, "saveToDisk( self : QNetworkCacheMetaData )=>int" },
  { dao_QNetworkCacheMetaData_setAttributes, "setAttributes( self : QNetworkCacheMetaData, attributes : QNetworkCacheMetaData_AttributesMap )" },
  { dao_QNetworkCacheMetaData_setExpirationDate, "setExpirationDate( self : QNetworkCacheMetaData, dateTime : QDateTime )" },
  { dao_QNetworkCacheMetaData_setLastModified, "setLastModified( self : QNetworkCacheMetaData, dateTime : QDateTime )" },
  { dao_QNetworkCacheMetaData_setRawHeaders, "setRawHeaders( self : QNetworkCacheMetaData, headers : QNetworkCacheMetaData_RawHeaderList )" },
  { dao_QNetworkCacheMetaData_setSaveToDisk, "setSaveToDisk( self : QNetworkCacheMetaData, allow : int )" },
  { dao_QNetworkCacheMetaData_setUrl, "setUrl( self : QNetworkCacheMetaData, url : QUrl )" },
  { dao_QNetworkCacheMetaData_url, "url( self : QNetworkCacheMetaData )=>QUrl" },
  { NULL, NULL }
};
static void Dao_QNetworkCacheMetaData_Delete( void *self )
{
	delete (QNetworkCacheMetaData*) self;
}

static DaoTypeBase QNetworkCacheMetaData_Typer = 
{ "QNetworkCacheMetaData", NULL, 
  dao_QNetworkCacheMetaData_Nums,
  dao_QNetworkCacheMetaData_Meths, 
  { 0 },
  { 0 },
  Dao_QNetworkCacheMetaData_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkCacheMetaData_Typer = & QNetworkCacheMetaData_Typer;
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_QNetworkCacheMetaData( DaoContext *_ctx, DValue *_p[], int _n )
{
	QNetworkCacheMetaData *_self = Dao_QNetworkCacheMetaData_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QNetworkCacheMetaData_Typer );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_QNetworkCacheMetaData_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* other= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
	QNetworkCacheMetaData *_self = Dao_QNetworkCacheMetaData_New( *other );
	DaoContext_PutCData( _ctx, _self, dao_QNetworkCacheMetaData_Typer );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_attributes( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  QNetworkCacheMetaData::AttributesMap _attributes = self->QNetworkCacheMetaData::attributes(  );
  DaoContext_CopyCData( _ctx, (void*)& _attributes, sizeof(QNetworkCacheMetaData::AttributesMap), dao_QNetworkCacheMetaData_AttributesMap_Typer );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_expirationDate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  QDateTime _expirationDate = self->QNetworkCacheMetaData::expirationDate(  );
  DaoContext_PutCData( _ctx, (void*)new QDateTime( _expirationDate ), dao_QDateTime_Typer );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_isValid( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  bool _isValid = self->QNetworkCacheMetaData::isValid(  );
  DaoContext_PutInteger( _ctx, (int) _isValid );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_lastModified( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  QDateTime _lastModified = self->QNetworkCacheMetaData::lastModified(  );
  DaoContext_PutCData( _ctx, (void*)new QDateTime( _lastModified ), dao_QDateTime_Typer );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_rawHeaders( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  QNetworkCacheMetaData::RawHeaderList _rawHeaders = self->QNetworkCacheMetaData::rawHeaders(  );
  DaoContext_CopyCData( _ctx, (void*)& _rawHeaders, sizeof(QNetworkCacheMetaData::RawHeaderList), dao_QNetworkCacheMetaData_RawHeaderList_Typer );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_saveToDisk( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  bool _saveToDisk = self->QNetworkCacheMetaData::saveToDisk(  );
  DaoContext_PutInteger( _ctx, (int) _saveToDisk );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_setAttributes( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  QNetworkCacheMetaData::AttributesMap* attributes= (QNetworkCacheMetaData::AttributesMap*) DValue_CastCData( _p[1], dao_QNetworkCacheMetaData_AttributesMap_Typer );
  self->QNetworkCacheMetaData::setAttributes( *attributes );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_setExpirationDate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  QDateTime* dateTime= (QDateTime*) DValue_CastCData( _p[1], dao_QDateTime_Typer );
  self->QNetworkCacheMetaData::setExpirationDate( *dateTime );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_setLastModified( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  QDateTime* dateTime= (QDateTime*) DValue_CastCData( _p[1], dao_QDateTime_Typer );
  self->QNetworkCacheMetaData::setLastModified( *dateTime );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_setRawHeaders( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  QNetworkCacheMetaData::RawHeaderList* headers= (QNetworkCacheMetaData::RawHeaderList*) DValue_CastCData( _p[1], dao_QNetworkCacheMetaData_RawHeaderList_Typer );
  self->QNetworkCacheMetaData::setRawHeaders( *headers );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_setSaveToDisk( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  bool allow= (bool) _p[1]->v.i;
  self->QNetworkCacheMetaData::setSaveToDisk( allow );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_setUrl( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  QUrl* url= (QUrl*) DValue_CastCData( _p[1], dao_QUrl_Typer );
  self->QNetworkCacheMetaData::setUrl( *url );
}
/* qabstractnetworkcache.h */
static void dao_QNetworkCacheMetaData_url( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCacheMetaData* self= (QNetworkCacheMetaData*) DValue_CastCData( _p[0], dao_QNetworkCacheMetaData_Typer );
  QUrl _url = self->QNetworkCacheMetaData::url(  );
  DaoContext_PutCData( _ctx, (void*)new QUrl( _url ), dao_QUrl_Typer );
}

/*  qabstractnetworkcache.h */


static DaoNumItem dao_QNetworkCacheMetaData_AttributesMap_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QNetworkCacheMetaData_AttributesMap_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QNetworkCacheMetaData_AttributesMap_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QNetworkCacheMetaData_AttributesMap_Typer = 
{ "QNetworkCacheMetaData_AttributesMap", NULL, 
  dao_QNetworkCacheMetaData_AttributesMap_Nums,
  dao_QNetworkCacheMetaData_AttributesMap_Meths, 
  { 0 },
  { 0 },
  Dao_QNetworkCacheMetaData_AttributesMap_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkCacheMetaData_AttributesMap_Typer = & QNetworkCacheMetaData_AttributesMap_Typer;

/*  qabstractnetworkcache.h */


static DaoNumItem dao_QNetworkCacheMetaData_RawHeader_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QNetworkCacheMetaData_RawHeader_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QNetworkCacheMetaData_RawHeader_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QNetworkCacheMetaData_RawHeader_Typer = 
{ "QNetworkCacheMetaData_RawHeader", NULL, 
  dao_QNetworkCacheMetaData_RawHeader_Nums,
  dao_QNetworkCacheMetaData_RawHeader_Meths, 
  { 0 },
  { 0 },
  Dao_QNetworkCacheMetaData_RawHeader_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkCacheMetaData_RawHeader_Typer = & QNetworkCacheMetaData_RawHeader_Typer;

/*  qabstractnetworkcache.h */


static DaoNumItem dao_QNetworkCacheMetaData_RawHeaderList_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QNetworkCacheMetaData_RawHeaderList_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QNetworkCacheMetaData_RawHeaderList_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QNetworkCacheMetaData_RawHeaderList_Typer = 
{ "QNetworkCacheMetaData_RawHeaderList", NULL, 
  dao_QNetworkCacheMetaData_RawHeaderList_Nums,
  dao_QNetworkCacheMetaData_RawHeaderList_Meths, 
  { 0 },
  { 0 },
  Dao_QNetworkCacheMetaData_RawHeaderList_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkCacheMetaData_RawHeaderList_Typer = & QNetworkCacheMetaData_RawHeaderList_Typer;

/*  qnetworkcookie.h */


static DaoNumItem dao_QNetworkCookie_Nums[] =
{
  { "NameAndValueOnly", DAO_INTEGER, QNetworkCookie::NameAndValueOnly },
  { "Full", DAO_INTEGER, QNetworkCookie::Full },
  { NULL, 0, 0 }
};
static void dao_QNetworkCookie_QNetworkCookie( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_QNetworkCookie_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_domain( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_expirationDate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_isHttpOnly( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_isSecure( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_isSessionCookie( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_path( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_setDomain( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_setExpirationDate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_setHttpOnly( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_setName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_setPath( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_setSecure( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_setValue( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_toRawForm( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookie_value( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QNetworkCookie_Meths[] = 
{
  { dao_QNetworkCookie_QNetworkCookie, "QNetworkCookie( name : string|null=null, value : string|null=null )=>QNetworkCookie" },
  { dao_QNetworkCookie_QNetworkCookie_dao_2, "QNetworkCookie( other : QNetworkCookie )=>QNetworkCookie" },
  { dao_QNetworkCookie_domain, "domain( self : QNetworkCookie )=>string" },
  { dao_QNetworkCookie_expirationDate, "expirationDate( self : QNetworkCookie )=>QDateTime" },
  { dao_QNetworkCookie_isHttpOnly, "isHttpOnly( self : QNetworkCookie )=>int" },
  { dao_QNetworkCookie_isSecure, "isSecure( self : QNetworkCookie )=>int" },
  { dao_QNetworkCookie_isSessionCookie, "isSessionCookie( self : QNetworkCookie )=>int" },
  { dao_QNetworkCookie_name, "name( self : QNetworkCookie )=>string" },
  { dao_QNetworkCookie_path, "path( self : QNetworkCookie )=>string" },
  { dao_QNetworkCookie_setDomain, "setDomain( self : QNetworkCookie, domain : string )" },
  { dao_QNetworkCookie_setExpirationDate, "setExpirationDate( self : QNetworkCookie, date : QDateTime )" },
  { dao_QNetworkCookie_setHttpOnly, "setHttpOnly( self : QNetworkCookie, enable : int )" },
  { dao_QNetworkCookie_setName, "setName( self : QNetworkCookie, cookieName : string )" },
  { dao_QNetworkCookie_setPath, "setPath( self : QNetworkCookie, path : string )" },
  { dao_QNetworkCookie_setSecure, "setSecure( self : QNetworkCookie, enable : int )" },
  { dao_QNetworkCookie_setValue, "setValue( self : QNetworkCookie, value : string )" },
  { dao_QNetworkCookie_toRawForm, "toRawForm( self : QNetworkCookie, form : int = Full )=>string" },
  { dao_QNetworkCookie_value, "value( self : QNetworkCookie )=>string" },
  { NULL, NULL }
};
static void Dao_QNetworkCookie_Delete( void *self )
{
	delete (QNetworkCookie*) self;
}

static DaoTypeBase QNetworkCookie_Typer = 
{ "QNetworkCookie", NULL, 
  dao_QNetworkCookie_Nums,
  dao_QNetworkCookie_Meths, 
  { 0 },
  { 0 },
  Dao_QNetworkCookie_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkCookie_Typer = & QNetworkCookie_Typer;
/* qnetworkcookie.h */
static void dao_QNetworkCookie_QNetworkCookie( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QByteArray name( _mbs0 );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray value( _mbs1 );
	QNetworkCookie *_self = Dao_QNetworkCookie_New( name, value );
	DaoContext_PutCData( _ctx, _self, dao_QNetworkCookie_Typer );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_QNetworkCookie_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* other= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
	QNetworkCookie *_self = Dao_QNetworkCookie_New( *other );
	DaoContext_PutCData( _ctx, _self, dao_QNetworkCookie_Typer );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_domain( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  QString _domain = self->QNetworkCookie::domain(  );
  DaoContext_PutMBString( _ctx, _domain.toLocal8Bit().data() );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_expirationDate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  QDateTime _expirationDate = self->QNetworkCookie::expirationDate(  );
  DaoContext_PutCData( _ctx, (void*)new QDateTime( _expirationDate ), dao_QDateTime_Typer );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_isHttpOnly( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  bool _isHttpOnly = self->QNetworkCookie::isHttpOnly(  );
  DaoContext_PutInteger( _ctx, (int) _isHttpOnly );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_isSecure( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  bool _isSecure = self->QNetworkCookie::isSecure(  );
  DaoContext_PutInteger( _ctx, (int) _isSecure );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_isSessionCookie( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  bool _isSessionCookie = self->QNetworkCookie::isSessionCookie(  );
  DaoContext_PutInteger( _ctx, (int) _isSessionCookie );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  QByteArray _name = self->QNetworkCookie::name(  );
  DaoContext_PutMBString( _ctx, _name.data() );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_path( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  QString _path = self->QNetworkCookie::path(  );
  DaoContext_PutMBString( _ctx, _path.toLocal8Bit().data() );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_setDomain( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString domain( _mbs1 );
  self->QNetworkCookie::setDomain( domain );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_setExpirationDate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  QDateTime* date= (QDateTime*) DValue_CastCData( _p[1], dao_QDateTime_Typer );
  self->QNetworkCookie::setExpirationDate( *date );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_setHttpOnly( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  bool enable= (bool) _p[1]->v.i;
  self->QNetworkCookie::setHttpOnly( enable );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_setName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray cookieName( _mbs1 );
  self->QNetworkCookie::setName( cookieName );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_setPath( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString path( _mbs1 );
  self->QNetworkCookie::setPath( path );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_setSecure( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  bool enable= (bool) _p[1]->v.i;
  self->QNetworkCookie::setSecure( enable );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_setValue( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray value( _mbs1 );
  self->QNetworkCookie::setValue( value );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_toRawForm( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  QNetworkCookie::RawForm form= (QNetworkCookie::RawForm) _p[1]->v.i;
  QByteArray _toRawForm = self->QNetworkCookie::toRawForm( form );
  DaoContext_PutMBString( _ctx, _toRawForm.data() );
}
/* qnetworkcookie.h */
static void dao_QNetworkCookie_value( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkCookie* self= (QNetworkCookie*) DValue_CastCData( _p[0], dao_QNetworkCookie_Typer );
  QByteArray _value = self->QNetworkCookie::value(  );
  DaoContext_PutMBString( _ctx, _value.data() );
}

/*  qnetworkcookiejar.h */


static DaoNumItem dao_QNetworkCookieJar_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QNetworkCookieJar_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkCookieJar_QNetworkCookieJar( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QNetworkCookieJar_Meths[] = 
{
  { dao_QNetworkCookieJar_qobject_cast, "qobject_cast( object : QObject )=>QNetworkCookieJar" },
  { dao_QNetworkCookieJar_QNetworkCookieJar, "QNetworkCookieJar( parent : QObject|null=null )=>QNetworkCookieJar" },
  { NULL, NULL }
};
static void Dao_QNetworkCookieJar_Delete( void *self )
{
	delete (QNetworkCookieJar*) self;
}
void* dao_cast_QNetworkCookieJar_to_QObject( void *data )
{
	return (QObject*)(QNetworkCookieJar*)data;
}

static DaoTypeBase QNetworkCookieJar_Typer = 
{ "QNetworkCookieJar", NULL, 
  dao_QNetworkCookieJar_Nums,
  dao_QNetworkCookieJar_Meths, 
  { dao_QObject_Typer, 0 },
  { dao_cast_QNetworkCookieJar_to_QObject,0 },
  Dao_QNetworkCookieJar_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkCookieJar_Typer = & QNetworkCookieJar_Typer;
static void dao_QNetworkCookieJar_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QNetworkCookieJar *to2 = qobject_cast<QNetworkCookieJar*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QNetworkCookieJar_Typer );
}
/* qnetworkcookiejar.h */
static void dao_QNetworkCookieJar_QNetworkCookieJar( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QNetworkCookieJar *_self = DaoCxx_QNetworkCookieJar_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  qnetworkdiskcache.h */


static DaoNumItem dao_QNetworkDiskCache_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QNetworkDiskCache_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_QNetworkDiskCache( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_cacheDirectory( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_cacheSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_data( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_expire( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_fileMetaData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_insert( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_maximumCacheSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_metaData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_prepare( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_remove( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_setCacheDirectory( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_setMaximumCacheSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkDiskCache_updateMetaData( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QNetworkDiskCache_Meths[] = 
{
  { dao_QNetworkDiskCache_qobject_cast, "qobject_cast( object : QObject )=>QNetworkDiskCache" },
  { dao_QNetworkDiskCache_QNetworkDiskCache, "QNetworkDiskCache( parent : QObject|null=null )=>QNetworkDiskCache" },
  { dao_QNetworkDiskCache_cacheDirectory, "cacheDirectory( self : QNetworkDiskCache )=>string" },
  { dao_QNetworkDiskCache_cacheSize, "cacheSize( self : QNetworkDiskCache )=>double" },
  { dao_QNetworkDiskCache_clear, "clear( self : QNetworkDiskCache )" },
  { dao_QNetworkDiskCache_data, "data( self : QNetworkDiskCache, url : QUrl )=>QIODevice" },
  { dao_QNetworkDiskCache_expire, "expire( self : QNetworkDiskCache )=>double" },
  { dao_QNetworkDiskCache_fileMetaData, "fileMetaData( self : QNetworkDiskCache, fileName : string )=>QNetworkCacheMetaData" },
  { dao_QNetworkDiskCache_insert, "insert( self : QNetworkDiskCache, device : QIODevice )" },
  { dao_QNetworkDiskCache_maximumCacheSize, "maximumCacheSize( self : QNetworkDiskCache )=>double" },
  { dao_QNetworkDiskCache_metaData, "metaData( self : QNetworkDiskCache, url : QUrl )=>QNetworkCacheMetaData" },
  { dao_QNetworkDiskCache_prepare, "prepare( self : QNetworkDiskCache, metaData : QNetworkCacheMetaData )=>QIODevice" },
  { dao_QNetworkDiskCache_remove, "remove( self : QNetworkDiskCache, url : QUrl )=>int" },
  { dao_QNetworkDiskCache_setCacheDirectory, "setCacheDirectory( self : QNetworkDiskCache, cacheDir : string )" },
  { dao_QNetworkDiskCache_setMaximumCacheSize, "setMaximumCacheSize( self : QNetworkDiskCache, size : double )" },
  { dao_QNetworkDiskCache_updateMetaData, "updateMetaData( self : QNetworkDiskCache, metaData : QNetworkCacheMetaData )" },
  { NULL, NULL }
};
static void Dao_QNetworkDiskCache_Delete( void *self )
{
	delete (QNetworkDiskCache*) self;
}
void* dao_cast_QNetworkDiskCache_to_QAbstractNetworkCache( void *data )
{
	return (QAbstractNetworkCache*)(QNetworkDiskCache*)data;
}

static DaoTypeBase QNetworkDiskCache_Typer = 
{ "QNetworkDiskCache", NULL, 
  dao_QNetworkDiskCache_Nums,
  dao_QNetworkDiskCache_Meths, 
  { dao_QAbstractNetworkCache_Typer, 0 },
  { dao_cast_QNetworkDiskCache_to_QAbstractNetworkCache,0 },
  Dao_QNetworkDiskCache_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkDiskCache_Typer = & QNetworkDiskCache_Typer;
static void dao_QNetworkDiskCache_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QNetworkDiskCache *to2 = qobject_cast<QNetworkDiskCache*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QNetworkDiskCache_Typer );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_QNetworkDiskCache( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QNetworkDiskCache *_self = DaoCxx_QNetworkDiskCache_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_cacheDirectory( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  QString _cacheDirectory = self->QNetworkDiskCache::cacheDirectory(  );
  DaoContext_PutMBString( _ctx, _cacheDirectory.toLocal8Bit().data() );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_cacheSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  qint64 _cacheSize = self->QNetworkDiskCache::cacheSize(  );
  DaoContext_PutDouble( _ctx, (double) _cacheSize );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  self->QNetworkDiskCache::clear(  );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_data( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  QUrl* url= (QUrl*) DValue_CastCData( _p[1], dao_QUrl_Typer );
  QIODevice* _data = self->QNetworkDiskCache::data( *url );
  DaoBase *dbase = DaoQt_Get_Wrapper( _data );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QIODevice_InitSS( (QIODevice*) _data );
    DaoContext_WrapCData( _ctx, (void*) _data, dao_QIODevice_Typer );
  }
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_expire( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QNetworkDiskCache *self = (DaoCxx_QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  qint64 _expire = self->DaoWrap_expire(  );
  DaoContext_PutDouble( _ctx, (double) _expire );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_fileMetaData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString fileName( _mbs1 );
  QNetworkCacheMetaData _fileMetaData = self->QNetworkDiskCache::fileMetaData( fileName );
  DaoContext_PutCData( _ctx, (void*)new QNetworkCacheMetaData( _fileMetaData ), dao_QNetworkCacheMetaData_Typer );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_insert( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  QIODevice* device= (QIODevice*) DValue_CastCData( _p[1], dao_QIODevice_Typer );
  self->QNetworkDiskCache::insert( device );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_maximumCacheSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  qint64 _maximumCacheSize = self->QNetworkDiskCache::maximumCacheSize(  );
  DaoContext_PutDouble( _ctx, (double) _maximumCacheSize );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_metaData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  QUrl* url= (QUrl*) DValue_CastCData( _p[1], dao_QUrl_Typer );
  QNetworkCacheMetaData _metaData = self->QNetworkDiskCache::metaData( *url );
  DaoContext_PutCData( _ctx, (void*)new QNetworkCacheMetaData( _metaData ), dao_QNetworkCacheMetaData_Typer );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_prepare( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  QNetworkCacheMetaData* metaData= (QNetworkCacheMetaData*) DValue_CastCData( _p[1], dao_QNetworkCacheMetaData_Typer );
  QIODevice* _prepare = self->QNetworkDiskCache::prepare( *metaData );
  DaoBase *dbase = DaoQt_Get_Wrapper( _prepare );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QIODevice_InitSS( (QIODevice*) _prepare );
    DaoContext_WrapCData( _ctx, (void*) _prepare, dao_QIODevice_Typer );
  }
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_remove( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  QUrl* url= (QUrl*) DValue_CastCData( _p[1], dao_QUrl_Typer );
  bool _remove = self->QNetworkDiskCache::remove( *url );
  DaoContext_PutInteger( _ctx, (int) _remove );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_setCacheDirectory( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString cacheDir( _mbs1 );
  self->QNetworkDiskCache::setCacheDirectory( cacheDir );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_setMaximumCacheSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  qint64 size= (qint64) _p[1]->v.d;
  self->QNetworkDiskCache::setMaximumCacheSize( size );
}
/* qnetworkdiskcache.h */
static void dao_QNetworkDiskCache_updateMetaData( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkDiskCache* self= (QNetworkDiskCache*) DValue_CastCData( _p[0], dao_QNetworkDiskCache_Typer );
  QNetworkCacheMetaData* metaData= (QNetworkCacheMetaData*) DValue_CastCData( _p[1], dao_QNetworkCacheMetaData_Typer );
  self->QNetworkDiskCache::updateMetaData( *metaData );
}

/*  qnetworkinterface.h */


static DaoNumItem dao_QNetworkInterface_Nums[] =
{
  { "IsUp", DAO_INTEGER, QNetworkInterface::IsUp },
  { "IsRunning", DAO_INTEGER, QNetworkInterface::IsRunning },
  { "CanBroadcast", DAO_INTEGER, QNetworkInterface::CanBroadcast },
  { "IsLoopBack", DAO_INTEGER, QNetworkInterface::IsLoopBack },
  { "IsPointToPoint", DAO_INTEGER, QNetworkInterface::IsPointToPoint },
  { "CanMulticast", DAO_INTEGER, QNetworkInterface::CanMulticast },
  { NULL, 0, 0 }
};
static void dao_QNetworkInterface_QNetworkInterface( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkInterface_QNetworkInterface_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkInterface_flags( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkInterface_hardwareAddress( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkInterface_humanReadableName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkInterface_index( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkInterface_interfaceFromIndex( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkInterface_interfaceFromName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkInterface_isValid( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkInterface_name( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QNetworkInterface_Meths[] = 
{
  { dao_QNetworkInterface_QNetworkInterface, "QNetworkInterface(  )=>QNetworkInterface" },
  { dao_QNetworkInterface_QNetworkInterface_dao_2, "QNetworkInterface( other : QNetworkInterface )=>QNetworkInterface" },
  { dao_QNetworkInterface_flags, "flags( self : QNetworkInterface )=>int" },
  { dao_QNetworkInterface_hardwareAddress, "hardwareAddress( self : QNetworkInterface )=>string" },
  { dao_QNetworkInterface_humanReadableName, "humanReadableName( self : QNetworkInterface )=>string" },
  { dao_QNetworkInterface_index, "index( self : QNetworkInterface )=>int" },
  { dao_QNetworkInterface_interfaceFromIndex, "interfaceFromIndex( index : int )=>QNetworkInterface" },
  { dao_QNetworkInterface_interfaceFromName, "interfaceFromName( name : string )=>QNetworkInterface" },
  { dao_QNetworkInterface_isValid, "isValid( self : QNetworkInterface )=>int" },
  { dao_QNetworkInterface_name, "name( self : QNetworkInterface )=>string" },
  { NULL, NULL }
};
static void Dao_QNetworkInterface_Delete( void *self )
{
	delete (QNetworkInterface*) self;
}

static DaoTypeBase QNetworkInterface_Typer = 
{ "QNetworkInterface", NULL, 
  dao_QNetworkInterface_Nums,
  dao_QNetworkInterface_Meths, 
  { 0 },
  { 0 },
  Dao_QNetworkInterface_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkInterface_Typer = & QNetworkInterface_Typer;
/* qnetworkinterface.h */
static void dao_QNetworkInterface_QNetworkInterface( DaoContext *_ctx, DValue *_p[], int _n )
{
	QNetworkInterface *_self = Dao_QNetworkInterface_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QNetworkInterface_Typer );
}
/* qnetworkinterface.h */
static void dao_QNetworkInterface_QNetworkInterface_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkInterface* other= (QNetworkInterface*) DValue_CastCData( _p[0], dao_QNetworkInterface_Typer );
	QNetworkInterface *_self = Dao_QNetworkInterface_New( *other );
	DaoContext_PutCData( _ctx, _self, dao_QNetworkInterface_Typer );
}
/* qnetworkinterface.h */
static void dao_QNetworkInterface_flags( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkInterface* self= (QNetworkInterface*) DValue_CastCData( _p[0], dao_QNetworkInterface_Typer );
  QNetworkInterface::InterfaceFlags _flags = self->QNetworkInterface::flags(  );
  DaoContext_PutInteger( _ctx, (int) _flags );
}
/* qnetworkinterface.h */
static void dao_QNetworkInterface_hardwareAddress( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkInterface* self= (QNetworkInterface*) DValue_CastCData( _p[0], dao_QNetworkInterface_Typer );
  QString _hardwareAddress = self->QNetworkInterface::hardwareAddress(  );
  DaoContext_PutMBString( _ctx, _hardwareAddress.toLocal8Bit().data() );
}
/* qnetworkinterface.h */
static void dao_QNetworkInterface_humanReadableName( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkInterface* self= (QNetworkInterface*) DValue_CastCData( _p[0], dao_QNetworkInterface_Typer );
  QString _humanReadableName = self->QNetworkInterface::humanReadableName(  );
  DaoContext_PutMBString( _ctx, _humanReadableName.toLocal8Bit().data() );
}
/* qnetworkinterface.h */
static void dao_QNetworkInterface_index( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkInterface* self= (QNetworkInterface*) DValue_CastCData( _p[0], dao_QNetworkInterface_Typer );
  int _index = self->QNetworkInterface::index(  );
  DaoContext_PutInteger( _ctx, (int) _index );
}
/* qnetworkinterface.h */
static void dao_QNetworkInterface_interfaceFromIndex( DaoContext *_ctx, DValue *_p[], int _n )
{
  int index= (int) _p[0]->v.i;
  QNetworkInterface _interfaceFromIndex = QNetworkInterface::interfaceFromIndex( index );
  DaoContext_PutCData( _ctx, (void*)new QNetworkInterface( _interfaceFromIndex ), dao_QNetworkInterface_Typer );
}
/* qnetworkinterface.h */
static void dao_QNetworkInterface_interfaceFromName( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString name( _mbs0 );
  QNetworkInterface _interfaceFromName = QNetworkInterface::interfaceFromName( name );
  DaoContext_PutCData( _ctx, (void*)new QNetworkInterface( _interfaceFromName ), dao_QNetworkInterface_Typer );
}
/* qnetworkinterface.h */
static void dao_QNetworkInterface_isValid( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkInterface* self= (QNetworkInterface*) DValue_CastCData( _p[0], dao_QNetworkInterface_Typer );
  bool _isValid = self->QNetworkInterface::isValid(  );
  DaoContext_PutInteger( _ctx, (int) _isValid );
}
/* qnetworkinterface.h */
static void dao_QNetworkInterface_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkInterface* self= (QNetworkInterface*) DValue_CastCData( _p[0], dao_QNetworkInterface_Typer );
  QString _name = self->QNetworkInterface::name(  );
  DaoContext_PutMBString( _ctx, _name.toLocal8Bit().data() );
}

/*  qnetworkreply.h */


static DaoNumItem dao_QNetworkReply_Nums[] =
{
  { "NoError", DAO_INTEGER, QNetworkReply::NoError },
  { "ConnectionRefusedError", DAO_INTEGER, QNetworkReply::ConnectionRefusedError },
  { "RemoteHostClosedError", DAO_INTEGER, QNetworkReply::RemoteHostClosedError },
  { "HostNotFoundError", DAO_INTEGER, QNetworkReply::HostNotFoundError },
  { "TimeoutError", DAO_INTEGER, QNetworkReply::TimeoutError },
  { "OperationCanceledError", DAO_INTEGER, QNetworkReply::OperationCanceledError },
  { "SslHandshakeFailedError", DAO_INTEGER, QNetworkReply::SslHandshakeFailedError },
  { "TemporaryNetworkFailureError", DAO_INTEGER, QNetworkReply::TemporaryNetworkFailureError },
  { "UnknownNetworkError", DAO_INTEGER, QNetworkReply::UnknownNetworkError },
  { "ProxyConnectionRefusedError", DAO_INTEGER, QNetworkReply::ProxyConnectionRefusedError },
  { "ProxyConnectionClosedError", DAO_INTEGER, QNetworkReply::ProxyConnectionClosedError },
  { "ProxyNotFoundError", DAO_INTEGER, QNetworkReply::ProxyNotFoundError },
  { "ProxyTimeoutError", DAO_INTEGER, QNetworkReply::ProxyTimeoutError },
  { "ProxyAuthenticationRequiredError", DAO_INTEGER, QNetworkReply::ProxyAuthenticationRequiredError },
  { "UnknownProxyError", DAO_INTEGER, QNetworkReply::UnknownProxyError },
  { "ContentAccessDenied", DAO_INTEGER, QNetworkReply::ContentAccessDenied },
  { "ContentOperationNotPermittedError", DAO_INTEGER, QNetworkReply::ContentOperationNotPermittedError },
  { "ContentNotFoundError", DAO_INTEGER, QNetworkReply::ContentNotFoundError },
  { "AuthenticationRequiredError", DAO_INTEGER, QNetworkReply::AuthenticationRequiredError },
  { "ContentReSendError", DAO_INTEGER, QNetworkReply::ContentReSendError },
  { "UnknownContentError", DAO_INTEGER, QNetworkReply::UnknownContentError },
  { "ProtocolUnknownError", DAO_INTEGER, QNetworkReply::ProtocolUnknownError },
  { "ProtocolInvalidOperationError", DAO_INTEGER, QNetworkReply::ProtocolInvalidOperationError },
  { "ProtocolFailure", DAO_INTEGER, QNetworkReply::ProtocolFailure },
  { NULL, 0, 0 }
};
static void dao_QNetworkReply_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_QNetworkReply_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_QNetworkReply( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_abort( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_close__QNetworkReply( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_close( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_error( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_hasRawHeader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_ignoreSslErrors_dao_2__QNetworkReply( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_ignoreSslErrors_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_isFinished( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_isRunning( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_isSequential__QNetworkReply( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_isSequential( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_manager( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_operation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_rawHeader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_readBufferSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_request( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_setError( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_setOperation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_setRawHeader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_setReadBufferSize__QNetworkReply( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_setReadBufferSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_setRequest( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_setSslConfiguration( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_setUrl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_sslConfiguration( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_url( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkReply_writeData( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QNetworkReply_Meths[] = 
{
  { dao_QNetworkReply_qobject_cast, "qobject_cast( object : QObject )=>QNetworkReply" },
  { dao_QNetworkReply_QNetworkReply_dao_2, "QNetworkReply( dd : QNetworkReplyPrivate, parent : QObject )=>QNetworkReply" },
  { dao_QNetworkReply_QNetworkReply, "QNetworkReply( parent : QObject|null=null )=>QNetworkReply" },
  { dao_QNetworkReply_abort, "abort( self : QNetworkReply )" },
  { dao_QNetworkReply_close, "close( self : QNetworkReply )" },
  { dao_QNetworkReply_error, "error( self : QNetworkReply )=>int" },
  { dao_QNetworkReply_hasRawHeader, "hasRawHeader( self : QNetworkReply, headerName : string )=>int" },
  { dao_QNetworkReply_ignoreSslErrors_dao_2, "ignoreSslErrors( self : QNetworkReply )" },
  { dao_QNetworkReply_isFinished, "isFinished( self : QNetworkReply )=>int" },
  { dao_QNetworkReply_isRunning, "isRunning( self : QNetworkReply )=>int" },
  { dao_QNetworkReply_isSequential, "isSequential( self : QNetworkReply )=>int" },
  { dao_QNetworkReply_manager, "manager( self : QNetworkReply )=>QNetworkAccessManager" },
  { dao_QNetworkReply_operation, "operation( self : QNetworkReply )=>int" },
  { dao_QNetworkReply_rawHeader, "rawHeader( self : QNetworkReply, headerName : string )=>string" },
  { dao_QNetworkReply_readBufferSize, "readBufferSize( self : QNetworkReply )=>double" },
  { dao_QNetworkReply_request, "request( self : QNetworkReply )=>QNetworkRequest" },
  { dao_QNetworkReply_setError, "setError( self : QNetworkReply, errorCode : int, errorString : string )" },
  { dao_QNetworkReply_setOperation, "setOperation( self : QNetworkReply, operation : int )" },
  { dao_QNetworkReply_setRawHeader, "setRawHeader( self : QNetworkReply, headerName : string, value : string )" },
  { dao_QNetworkReply_setReadBufferSize, "setReadBufferSize( self : QNetworkReply, size : double )" },
  { dao_QNetworkReply_setRequest, "setRequest( self : QNetworkReply, request : QNetworkRequest )" },
  { dao_QNetworkReply_setSslConfiguration, "setSslConfiguration( self : QNetworkReply, configuration : QSslConfiguration )" },
  { dao_QNetworkReply_setUrl, "setUrl( self : QNetworkReply, url : QUrl )" },
  { dao_QNetworkReply_sslConfiguration, "sslConfiguration( self : QNetworkReply )=>QSslConfiguration" },
  { dao_QNetworkReply_url, "url( self : QNetworkReply )=>QUrl" },
  { dao_QNetworkReply_writeData, "writeData( self : QNetworkReply, data : string, len : double )=>double" },
  { NULL, NULL }
};
static void Dao_QNetworkReply_Delete( void *self )
{
	delete (QNetworkReply*) self;
}
void* dao_cast_QNetworkReply_to_QIODevice( void *data )
{
	return (QIODevice*)(QNetworkReply*)data;
}

static DaoTypeBase QNetworkReply_Typer = 
{ "QNetworkReply", NULL, 
  dao_QNetworkReply_Nums,
  dao_QNetworkReply_Meths, 
  { dao_QIODevice_Typer, 0 },
  { dao_cast_QNetworkReply_to_QIODevice,0 },
  Dao_QNetworkReply_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkReply_Typer = & QNetworkReply_Typer;
static void dao_QNetworkReply_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QNetworkReply *to2 = qobject_cast<QNetworkReply*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QNetworkReply_Typer );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_QNetworkReply_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReplyPrivate* dd= (QNetworkReplyPrivate*) DValue_CastCData( _p[0], dao_QNetworkReplyPrivate_Typer );
  QObject* parent= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
	DaoCxx_QNetworkReply *_self = DaoCxx_QNetworkReply_New( *dd, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_QNetworkReply( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QNetworkReply *_self = DaoCxx_QNetworkReply_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_abort( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  self->abort(  );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_close__QNetworkReply( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  self->QNetworkReply::close(  );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_close( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QNetworkReply_close__QNetworkReply( _ctx, _p, _n );
    return;
  }
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  self->close(  );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_error( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  QNetworkReply::NetworkError _error = self->QNetworkReply::error(  );
  DaoContext_PutInteger( _ctx, (int) _error );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_hasRawHeader( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray headerName( _mbs1 );
  bool _hasRawHeader = self->QNetworkReply::hasRawHeader( headerName );
  DaoContext_PutInteger( _ctx, (int) _hasRawHeader );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_ignoreSslErrors_dao_2__QNetworkReply( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  self->QNetworkReply::ignoreSslErrors(  );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_ignoreSslErrors_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QNetworkReply_ignoreSslErrors_dao_2__QNetworkReply( _ctx, _p, _n );
    return;
  }
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  self->ignoreSslErrors(  );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_isFinished( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  bool _isFinished = self->QNetworkReply::isFinished(  );
  DaoContext_PutInteger( _ctx, (int) _isFinished );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_isRunning( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  bool _isRunning = self->QNetworkReply::isRunning(  );
  DaoContext_PutInteger( _ctx, (int) _isRunning );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_isSequential__QNetworkReply( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  bool _isSequential = self->QNetworkReply::isSequential(  );
  DaoContext_PutInteger( _ctx, (int) _isSequential );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_isSequential( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QNetworkReply_isSequential__QNetworkReply( _ctx, _p, _n );
    return;
  }
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  bool _isSequential = self->isSequential(  );
  DaoContext_PutInteger( _ctx, (int) _isSequential );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_manager( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  QNetworkAccessManager* _manager = self->QNetworkReply::manager(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _manager );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QNetworkAccessManager_InitSS( (QNetworkAccessManager*) _manager );
    DaoContext_WrapCData( _ctx, (void*) _manager, dao_QNetworkAccessManager_Typer );
  }
}
/* qnetworkreply.h */
static void dao_QNetworkReply_operation( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  QNetworkAccessManager::Operation _operation = self->QNetworkReply::operation(  );
  DaoContext_PutInteger( _ctx, (int) _operation );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_rawHeader( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray headerName( _mbs1 );
  QByteArray _rawHeader = self->QNetworkReply::rawHeader( headerName );
  DaoContext_PutMBString( _ctx, _rawHeader.data() );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_readBufferSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  qint64 _readBufferSize = self->QNetworkReply::readBufferSize(  );
  DaoContext_PutDouble( _ctx, (double) _readBufferSize );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_request( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  QNetworkRequest _request = self->QNetworkReply::request(  );
  DaoContext_PutCData( _ctx, (void*)new QNetworkRequest( _request ), dao_QNetworkRequest_Typer );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_setError( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QNetworkReply *self = (DaoCxx_QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  QNetworkReply::NetworkError errorCode= (QNetworkReply::NetworkError) _p[1]->v.i;
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString errorString( _mbs2 );
  self->DaoWrap_setError( errorCode, errorString );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_setOperation( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QNetworkReply *self = (DaoCxx_QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  QNetworkAccessManager::Operation operation= (QNetworkAccessManager::Operation) _p[1]->v.i;
  self->DaoWrap_setOperation( operation );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_setRawHeader( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QNetworkReply *self = (DaoCxx_QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray headerName( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QByteArray value( _mbs2 );
  self->DaoWrap_setRawHeader( headerName, value );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_setReadBufferSize__QNetworkReply( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  qint64 size= (qint64) _p[1]->v.d;
  self->QNetworkReply::setReadBufferSize( size );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_setReadBufferSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QNetworkReply_setReadBufferSize__QNetworkReply( _ctx, _p, _n );
    return;
  }
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  qint64 size= (qint64) _p[1]->v.d;
  self->setReadBufferSize( size );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_setRequest( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QNetworkReply *self = (DaoCxx_QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  QNetworkRequest* request= (QNetworkRequest*) DValue_CastCData( _p[1], dao_QNetworkRequest_Typer );
  self->DaoWrap_setRequest( *request );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_setSslConfiguration( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  QSslConfiguration* configuration= (QSslConfiguration*) DValue_CastCData( _p[1], dao_QSslConfiguration_Typer );
  self->QNetworkReply::setSslConfiguration( *configuration );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_setUrl( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QNetworkReply *self = (DaoCxx_QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  QUrl* url= (QUrl*) DValue_CastCData( _p[1], dao_QUrl_Typer );
  self->DaoWrap_setUrl( *url );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_sslConfiguration( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  QSslConfiguration _sslConfiguration = self->QNetworkReply::sslConfiguration(  );
  DaoContext_PutCData( _ctx, (void*)new QSslConfiguration( _sslConfiguration ), dao_QSslConfiguration_Typer );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_url( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkReply* self= (QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  QUrl _url = self->QNetworkReply::url(  );
  DaoContext_PutCData( _ctx, (void*)new QUrl( _url ), dao_QUrl_Typer );
}
/* qnetworkreply.h */
static void dao_QNetworkReply_writeData( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QNetworkReply *self = (DaoCxx_QNetworkReply*) DValue_CastCData( _p[0], dao_QNetworkReply_Typer );
  char* data= (char*) DValue_GetMBString( _p[1] );
  qint64 len= (qint64) _p[2]->v.d;
  qint64 _writeData = self->DaoWrap_writeData( data, len );
  DaoContext_PutDouble( _ctx, (double) _writeData );
}

/*  qnetworkreply.h */


static DaoNumItem dao_QNetworkReply_RawHeaderPair_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QNetworkReply_RawHeaderPair_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QNetworkReply_RawHeaderPair_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QNetworkReply_RawHeaderPair_Typer = 
{ "QNetworkReply_RawHeaderPair", NULL, 
  dao_QNetworkReply_RawHeaderPair_Nums,
  dao_QNetworkReply_RawHeaderPair_Meths, 
  { 0 },
  { 0 },
  Dao_QNetworkReply_RawHeaderPair_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkReply_RawHeaderPair_Typer = & QNetworkReply_RawHeaderPair_Typer;

/*  qnetworkreply.h */


static DaoNumItem dao_QNetworkReplyPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QNetworkReplyPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QNetworkReplyPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QNetworkReplyPrivate_Typer = 
{ "QNetworkReplyPrivate", NULL, 
  dao_QNetworkReplyPrivate_Nums,
  dao_QNetworkReplyPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QNetworkReplyPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkReplyPrivate_Typer = & QNetworkReplyPrivate_Typer;

/*  qnetworkrequest.h */


static DaoNumItem dao_QNetworkRequest_Nums[] =
{
  { "ContentTypeHeader", DAO_INTEGER, QNetworkRequest::ContentTypeHeader },
  { "ContentLengthHeader", DAO_INTEGER, QNetworkRequest::ContentLengthHeader },
  { "LocationHeader", DAO_INTEGER, QNetworkRequest::LocationHeader },
  { "LastModifiedHeader", DAO_INTEGER, QNetworkRequest::LastModifiedHeader },
  { "CookieHeader", DAO_INTEGER, QNetworkRequest::CookieHeader },
  { "SetCookieHeader", DAO_INTEGER, QNetworkRequest::SetCookieHeader },
  { "HttpStatusCodeAttribute", DAO_INTEGER, QNetworkRequest::HttpStatusCodeAttribute },
  { "HttpReasonPhraseAttribute", DAO_INTEGER, QNetworkRequest::HttpReasonPhraseAttribute },
  { "RedirectionTargetAttribute", DAO_INTEGER, QNetworkRequest::RedirectionTargetAttribute },
  { "ConnectionEncryptedAttribute", DAO_INTEGER, QNetworkRequest::ConnectionEncryptedAttribute },
  { "CacheLoadControlAttribute", DAO_INTEGER, QNetworkRequest::CacheLoadControlAttribute },
  { "CacheSaveControlAttribute", DAO_INTEGER, QNetworkRequest::CacheSaveControlAttribute },
  { "SourceIsFromCacheAttribute", DAO_INTEGER, QNetworkRequest::SourceIsFromCacheAttribute },
  { "DoNotBufferUploadDataAttribute", DAO_INTEGER, QNetworkRequest::DoNotBufferUploadDataAttribute },
  { "HttpPipeliningAllowedAttribute", DAO_INTEGER, QNetworkRequest::HttpPipeliningAllowedAttribute },
  { "HttpPipeliningWasUsedAttribute", DAO_INTEGER, QNetworkRequest::HttpPipeliningWasUsedAttribute },
  { "CustomVerbAttribute", DAO_INTEGER, QNetworkRequest::CustomVerbAttribute },
  { "CookieLoadControlAttribute", DAO_INTEGER, QNetworkRequest::CookieLoadControlAttribute },
  { "AuthenticationReuseAttribute", DAO_INTEGER, QNetworkRequest::AuthenticationReuseAttribute },
  { "CookieSaveControlAttribute", DAO_INTEGER, QNetworkRequest::CookieSaveControlAttribute },
  { "MaximumDownloadBufferSizeAttribute", DAO_INTEGER, QNetworkRequest::MaximumDownloadBufferSizeAttribute },
  { "DownloadBufferAttribute", DAO_INTEGER, QNetworkRequest::DownloadBufferAttribute },
  { "User", DAO_INTEGER, QNetworkRequest::User },
  { "UserMax", DAO_INTEGER, QNetworkRequest::UserMax },
  { "AlwaysNetwork", DAO_INTEGER, QNetworkRequest::AlwaysNetwork },
  { "PreferNetwork", DAO_INTEGER, QNetworkRequest::PreferNetwork },
  { "PreferCache", DAO_INTEGER, QNetworkRequest::PreferCache },
  { "AlwaysCache", DAO_INTEGER, QNetworkRequest::AlwaysCache },
  { "Automatic", DAO_INTEGER, QNetworkRequest::Automatic },
  { "Manual", DAO_INTEGER, QNetworkRequest::Manual },
  { "HighPriority", DAO_INTEGER, QNetworkRequest::HighPriority },
  { "NormalPriority", DAO_INTEGER, QNetworkRequest::NormalPriority },
  { "LowPriority", DAO_INTEGER, QNetworkRequest::LowPriority },
  { NULL, 0, 0 }
};
static void dao_QNetworkRequest_QNetworkRequest_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_QNetworkRequest( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_attribute( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_hasRawHeader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_header( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_originatingObject( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_priority( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_rawHeader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_setAttribute( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_setHeader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_setOriginatingObject( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_setPriority( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_setRawHeader( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_setSslConfiguration( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_setUrl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_sslConfiguration( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QNetworkRequest_url( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QNetworkRequest_Meths[] = 
{
  { dao_QNetworkRequest_QNetworkRequest_dao_2, "QNetworkRequest( other : QNetworkRequest )=>QNetworkRequest" },
  { dao_QNetworkRequest_QNetworkRequest, "QNetworkRequest( url : QUrl|null=null )=>QNetworkRequest" },
  { dao_QNetworkRequest_attribute, "attribute( self : QNetworkRequest, code : int, defaultValue : QVariant|null=null )=>QVariant" },
  { dao_QNetworkRequest_hasRawHeader, "hasRawHeader( self : QNetworkRequest, headerName : string )=>int" },
  { dao_QNetworkRequest_header, "header( self : QNetworkRequest, header : int )=>QVariant" },
  { dao_QNetworkRequest_originatingObject, "originatingObject( self : QNetworkRequest )=>QObject" },
  { dao_QNetworkRequest_priority, "priority( self : QNetworkRequest )=>int" },
  { dao_QNetworkRequest_rawHeader, "rawHeader( self : QNetworkRequest, headerName : string )=>string" },
  { dao_QNetworkRequest_setAttribute, "setAttribute( self : QNetworkRequest, code : int, value : QVariant )" },
  { dao_QNetworkRequest_setHeader, "setHeader( self : QNetworkRequest, header : int, value : QVariant )" },
  { dao_QNetworkRequest_setOriginatingObject, "setOriginatingObject( self : QNetworkRequest, object : QObject )" },
  { dao_QNetworkRequest_setPriority, "setPriority( self : QNetworkRequest, priority : int )" },
  { dao_QNetworkRequest_setRawHeader, "setRawHeader( self : QNetworkRequest, headerName : string, value : string )" },
  { dao_QNetworkRequest_setSslConfiguration, "setSslConfiguration( self : QNetworkRequest, configuration : QSslConfiguration )" },
  { dao_QNetworkRequest_setUrl, "setUrl( self : QNetworkRequest, url : QUrl )" },
  { dao_QNetworkRequest_sslConfiguration, "sslConfiguration( self : QNetworkRequest )=>QSslConfiguration" },
  { dao_QNetworkRequest_url, "url( self : QNetworkRequest )=>QUrl" },
  { NULL, NULL }
};
static void Dao_QNetworkRequest_Delete( void *self )
{
	delete (QNetworkRequest*) self;
}

static DaoTypeBase QNetworkRequest_Typer = 
{ "QNetworkRequest", NULL, 
  dao_QNetworkRequest_Nums,
  dao_QNetworkRequest_Meths, 
  { 0 },
  { 0 },
  Dao_QNetworkRequest_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QNetworkRequest_Typer = & QNetworkRequest_Typer;
/* qnetworkrequest.h */
static void dao_QNetworkRequest_QNetworkRequest_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* other= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
	QNetworkRequest *_self = Dao_QNetworkRequest_New( *other );
	DaoContext_PutCData( _ctx, _self, dao_QNetworkRequest_Typer );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_QNetworkRequest( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrl* url= (QUrl*) DValue_CastCData( _p[0], dao_QUrl_Typer );
	QNetworkRequest *_self = Dao_QNetworkRequest_New( *url );
	DaoContext_PutCData( _ctx, _self, dao_QNetworkRequest_Typer );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_attribute( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  QNetworkRequest::Attribute code= (QNetworkRequest::Attribute) _p[1]->v.i;
  QVariant* defaultValue= (QVariant*) DValue_CastCData( _p[2], dao_QVariant_Typer );
  QVariant _attribute;
  if(_n<=2) _attribute = self->QNetworkRequest::attribute( code );
  else _attribute = self->QNetworkRequest::attribute( code, *defaultValue );
  DaoContext_PutCData( _ctx, (void*)new QVariant( _attribute ), dao_QVariant_Typer );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_hasRawHeader( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray headerName( _mbs1 );
  bool _hasRawHeader = self->QNetworkRequest::hasRawHeader( headerName );
  DaoContext_PutInteger( _ctx, (int) _hasRawHeader );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_header( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  QNetworkRequest::KnownHeaders header= (QNetworkRequest::KnownHeaders) _p[1]->v.i;
  QVariant _header = self->QNetworkRequest::header( header );
  DaoContext_PutCData( _ctx, (void*)new QVariant( _header ), dao_QVariant_Typer );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_originatingObject( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  QObject* _originatingObject = self->QNetworkRequest::originatingObject(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _originatingObject );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QObject_InitSS( (QObject*) _originatingObject );
    DaoContext_WrapCData( _ctx, (void*) _originatingObject, dao_QObject_Typer );
  }
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_priority( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  QNetworkRequest::Priority _priority = self->QNetworkRequest::priority(  );
  DaoContext_PutInteger( _ctx, (int) _priority );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_rawHeader( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray headerName( _mbs1 );
  QByteArray _rawHeader = self->QNetworkRequest::rawHeader( headerName );
  DaoContext_PutMBString( _ctx, _rawHeader.data() );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_setAttribute( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  QNetworkRequest::Attribute code= (QNetworkRequest::Attribute) _p[1]->v.i;
  QVariant* value= (QVariant*) DValue_CastCData( _p[2], dao_QVariant_Typer );
  self->QNetworkRequest::setAttribute( code, *value );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_setHeader( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  QNetworkRequest::KnownHeaders header= (QNetworkRequest::KnownHeaders) _p[1]->v.i;
  QVariant* value= (QVariant*) DValue_CastCData( _p[2], dao_QVariant_Typer );
  self->QNetworkRequest::setHeader( header, *value );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_setOriginatingObject( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  QObject* object= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
  self->QNetworkRequest::setOriginatingObject( object );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_setPriority( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  QNetworkRequest::Priority priority= (QNetworkRequest::Priority) _p[1]->v.i;
  self->QNetworkRequest::setPriority( priority );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_setRawHeader( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray headerName( _mbs1 );
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QByteArray value( _mbs2 );
  self->QNetworkRequest::setRawHeader( headerName, value );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_setSslConfiguration( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  QSslConfiguration* configuration= (QSslConfiguration*) DValue_CastCData( _p[1], dao_QSslConfiguration_Typer );
  self->QNetworkRequest::setSslConfiguration( *configuration );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_setUrl( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  QUrl* url= (QUrl*) DValue_CastCData( _p[1], dao_QUrl_Typer );
  self->QNetworkRequest::setUrl( *url );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_sslConfiguration( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  QSslConfiguration _sslConfiguration = self->QNetworkRequest::sslConfiguration(  );
  DaoContext_PutCData( _ctx, (void*)new QSslConfiguration( _sslConfiguration ), dao_QSslConfiguration_Typer );
}
/* qnetworkrequest.h */
static void dao_QNetworkRequest_url( DaoContext *_ctx, DValue *_p[], int _n )
{
  QNetworkRequest* self= (QNetworkRequest*) DValue_CastCData( _p[0], dao_QNetworkRequest_Typer );
  QUrl _url = self->QNetworkRequest::url(  );
  DaoContext_PutCData( _ctx, (void*)new QUrl( _url ), dao_QUrl_Typer );
}

/*  qsslcertificate.h */


static DaoNumItem dao_QSslCertificate_Nums[] =
{
  { "Organization", DAO_INTEGER, QSslCertificate::Organization },
  { "CommonName", DAO_INTEGER, QSslCertificate::CommonName },
  { "LocalityName", DAO_INTEGER, QSslCertificate::LocalityName },
  { "OrganizationalUnitName", DAO_INTEGER, QSslCertificate::OrganizationalUnitName },
  { "CountryName", DAO_INTEGER, QSslCertificate::CountryName },
  { "StateOrProvinceName", DAO_INTEGER, QSslCertificate::StateOrProvinceName },
  { NULL, 0, 0 }
};
static void dao_QSslCertificate_QSslCertificate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_QSslCertificate_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_QSslCertificate_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_digest( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_effectiveDate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_expiryDate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_isNull( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_isValid( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_issuerInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_issuerInfo_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_publicKey( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_serialNumber( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_subjectInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_subjectInfo_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_toDer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_toPem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCertificate_version( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QSslCertificate_Meths[] = 
{
  { dao_QSslCertificate_QSslCertificate, "QSslCertificate( device : QIODevice, format : int = QSsl::Pem )=>QSslCertificate" },
  { dao_QSslCertificate_QSslCertificate_dao_2, "QSslCertificate( encoded : string|null=null, format : int = QSsl::Pem )=>QSslCertificate" },
  { dao_QSslCertificate_QSslCertificate_dao_3, "QSslCertificate( other : QSslCertificate )=>QSslCertificate" },
  { dao_QSslCertificate_clear, "clear( self : QSslCertificate )" },
  { dao_QSslCertificate_digest, "digest( self : QSslCertificate, algorithm : int = QCryptographicHash::Md5 )=>string" },
  { dao_QSslCertificate_effectiveDate, "effectiveDate( self : QSslCertificate )=>QDateTime" },
  { dao_QSslCertificate_expiryDate, "expiryDate( self : QSslCertificate )=>QDateTime" },
  { dao_QSslCertificate_isNull, "isNull( self : QSslCertificate )=>int" },
  { dao_QSslCertificate_isValid, "isValid( self : QSslCertificate )=>int" },
  { dao_QSslCertificate_issuerInfo, "issuerInfo( self : QSslCertificate, info : int )=>string" },
  { dao_QSslCertificate_issuerInfo_dao_2, "issuerInfo( self : QSslCertificate, tag : string )=>string" },
  { dao_QSslCertificate_publicKey, "publicKey( self : QSslCertificate )=>QSslKey" },
  { dao_QSslCertificate_serialNumber, "serialNumber( self : QSslCertificate )=>string" },
  { dao_QSslCertificate_subjectInfo, "subjectInfo( self : QSslCertificate, info : int )=>string" },
  { dao_QSslCertificate_subjectInfo_dao_2, "subjectInfo( self : QSslCertificate, tag : string )=>string" },
  { dao_QSslCertificate_toDer, "toDer( self : QSslCertificate )=>string" },
  { dao_QSslCertificate_toPem, "toPem( self : QSslCertificate )=>string" },
  { dao_QSslCertificate_version, "version( self : QSslCertificate )=>string" },
  { NULL, NULL }
};
static void Dao_QSslCertificate_Delete( void *self )
{
	delete (QSslCertificate*) self;
}

static DaoTypeBase QSslCertificate_Typer = 
{ "QSslCertificate", NULL, 
  dao_QSslCertificate_Nums,
  dao_QSslCertificate_Meths, 
  { 0 },
  { 0 },
  Dao_QSslCertificate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QSslCertificate_Typer = & QSslCertificate_Typer;
/* qsslcertificate.h */
static void dao_QSslCertificate_QSslCertificate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QIODevice* device= (QIODevice*) DValue_CastCData( _p[0], dao_QIODevice_Typer );
  QSsl::EncodingFormat format= (QSsl::EncodingFormat) _p[1]->v.i;
	QSslCertificate *_self = Dao_QSslCertificate_New( device, format );
	DaoContext_PutCData( _ctx, _self, dao_QSslCertificate_Typer );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_QSslCertificate_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QByteArray encoded( _mbs0 );
  QSsl::EncodingFormat format= (QSsl::EncodingFormat) _p[1]->v.i;
	QSslCertificate *_self = Dao_QSslCertificate_New( encoded, format );
	DaoContext_PutCData( _ctx, _self, dao_QSslCertificate_Typer );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_QSslCertificate_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* other= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
	QSslCertificate *_self = Dao_QSslCertificate_New( *other );
	DaoContext_PutCData( _ctx, _self, dao_QSslCertificate_Typer );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  self->QSslCertificate::clear(  );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_digest( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  QCryptographicHash::Algorithm algorithm= (QCryptographicHash::Algorithm) _p[1]->v.i;
  QByteArray _digest = self->QSslCertificate::digest( algorithm );
  DaoContext_PutMBString( _ctx, _digest.data() );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_effectiveDate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  QDateTime _effectiveDate = self->QSslCertificate::effectiveDate(  );
  DaoContext_PutCData( _ctx, (void*)new QDateTime( _effectiveDate ), dao_QDateTime_Typer );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_expiryDate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  QDateTime _expiryDate = self->QSslCertificate::expiryDate(  );
  DaoContext_PutCData( _ctx, (void*)new QDateTime( _expiryDate ), dao_QDateTime_Typer );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_isNull( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  bool _isNull = self->QSslCertificate::isNull(  );
  DaoContext_PutInteger( _ctx, (int) _isNull );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_isValid( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  bool _isValid = self->QSslCertificate::isValid(  );
  DaoContext_PutInteger( _ctx, (int) _isValid );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_issuerInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  QSslCertificate::SubjectInfo info= (QSslCertificate::SubjectInfo) _p[1]->v.i;
  QString _issuerInfo = self->QSslCertificate::issuerInfo( info );
  DaoContext_PutMBString( _ctx, _issuerInfo.toLocal8Bit().data() );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_issuerInfo_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray tag( _mbs1 );
  QString _issuerInfo = self->QSslCertificate::issuerInfo( tag );
  DaoContext_PutMBString( _ctx, _issuerInfo.toLocal8Bit().data() );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_publicKey( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  QSslKey _publicKey = self->QSslCertificate::publicKey(  );
  DaoContext_PutCData( _ctx, (void*)new QSslKey( _publicKey ), dao_QSslKey_Typer );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_serialNumber( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  QByteArray _serialNumber = self->QSslCertificate::serialNumber(  );
  DaoContext_PutMBString( _ctx, _serialNumber.data() );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_subjectInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  QSslCertificate::SubjectInfo info= (QSslCertificate::SubjectInfo) _p[1]->v.i;
  QString _subjectInfo = self->QSslCertificate::subjectInfo( info );
  DaoContext_PutMBString( _ctx, _subjectInfo.toLocal8Bit().data() );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_subjectInfo_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray tag( _mbs1 );
  QString _subjectInfo = self->QSslCertificate::subjectInfo( tag );
  DaoContext_PutMBString( _ctx, _subjectInfo.toLocal8Bit().data() );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_toDer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  QByteArray _toDer = self->QSslCertificate::toDer(  );
  DaoContext_PutMBString( _ctx, _toDer.data() );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_toPem( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  QByteArray _toPem = self->QSslCertificate::toPem(  );
  DaoContext_PutMBString( _ctx, _toPem.data() );
}
/* qsslcertificate.h */
static void dao_QSslCertificate_version( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* self= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  QByteArray _version = self->QSslCertificate::version(  );
  DaoContext_PutMBString( _ctx, _version.data() );
}

/*  qsslcipher.h */


static DaoNumItem dao_QSslCipher_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QSslCipher_QSslCipher( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCipher_QSslCipher_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCipher_QSslCipher_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCipher_authenticationMethod( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCipher_encryptionMethod( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCipher_isNull( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCipher_keyExchangeMethod( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCipher_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCipher_protocol( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCipher_protocolString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCipher_supportedBits( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslCipher_usedBits( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QSslCipher_Meths[] = 
{
  { dao_QSslCipher_QSslCipher, "QSslCipher(  )=>QSslCipher" },
  { dao_QSslCipher_QSslCipher_dao_3, "QSslCipher( other : QSslCipher )=>QSslCipher" },
  { dao_QSslCipher_QSslCipher_dao_2, "QSslCipher( name : string, protocol : int )=>QSslCipher" },
  { dao_QSslCipher_authenticationMethod, "authenticationMethod( self : QSslCipher )=>string" },
  { dao_QSslCipher_encryptionMethod, "encryptionMethod( self : QSslCipher )=>string" },
  { dao_QSslCipher_isNull, "isNull( self : QSslCipher )=>int" },
  { dao_QSslCipher_keyExchangeMethod, "keyExchangeMethod( self : QSslCipher )=>string" },
  { dao_QSslCipher_name, "name( self : QSslCipher )=>string" },
  { dao_QSslCipher_protocol, "protocol( self : QSslCipher )=>int" },
  { dao_QSslCipher_protocolString, "protocolString( self : QSslCipher )=>string" },
  { dao_QSslCipher_supportedBits, "supportedBits( self : QSslCipher )=>int" },
  { dao_QSslCipher_usedBits, "usedBits( self : QSslCipher )=>int" },
  { NULL, NULL }
};
static void Dao_QSslCipher_Delete( void *self )
{
	delete (QSslCipher*) self;
}

static DaoTypeBase QSslCipher_Typer = 
{ "QSslCipher", NULL, 
  dao_QSslCipher_Nums,
  dao_QSslCipher_Meths, 
  { 0 },
  { 0 },
  Dao_QSslCipher_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QSslCipher_Typer = & QSslCipher_Typer;
/* qsslcipher.h */
static void dao_QSslCipher_QSslCipher( DaoContext *_ctx, DValue *_p[], int _n )
{
	QSslCipher *_self = Dao_QSslCipher_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QSslCipher_Typer );
}
/* qsslcipher.h */
static void dao_QSslCipher_QSslCipher_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCipher* other= (QSslCipher*) DValue_CastCData( _p[0], dao_QSslCipher_Typer );
	QSslCipher *_self = Dao_QSslCipher_New( *other );
	DaoContext_PutCData( _ctx, _self, dao_QSslCipher_Typer );
}
/* qsslcipher.h */
static void dao_QSslCipher_QSslCipher_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString name( _mbs0 );
  QSsl::SslProtocol protocol= (QSsl::SslProtocol) _p[1]->v.i;
	QSslCipher *_self = Dao_QSslCipher_New( name, protocol );
	DaoContext_PutCData( _ctx, _self, dao_QSslCipher_Typer );
}
/* qsslcipher.h */
static void dao_QSslCipher_authenticationMethod( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCipher* self= (QSslCipher*) DValue_CastCData( _p[0], dao_QSslCipher_Typer );
  QString _authenticationMethod = self->QSslCipher::authenticationMethod(  );
  DaoContext_PutMBString( _ctx, _authenticationMethod.toLocal8Bit().data() );
}
/* qsslcipher.h */
static void dao_QSslCipher_encryptionMethod( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCipher* self= (QSslCipher*) DValue_CastCData( _p[0], dao_QSslCipher_Typer );
  QString _encryptionMethod = self->QSslCipher::encryptionMethod(  );
  DaoContext_PutMBString( _ctx, _encryptionMethod.toLocal8Bit().data() );
}
/* qsslcipher.h */
static void dao_QSslCipher_isNull( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCipher* self= (QSslCipher*) DValue_CastCData( _p[0], dao_QSslCipher_Typer );
  bool _isNull = self->QSslCipher::isNull(  );
  DaoContext_PutInteger( _ctx, (int) _isNull );
}
/* qsslcipher.h */
static void dao_QSslCipher_keyExchangeMethod( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCipher* self= (QSslCipher*) DValue_CastCData( _p[0], dao_QSslCipher_Typer );
  QString _keyExchangeMethod = self->QSslCipher::keyExchangeMethod(  );
  DaoContext_PutMBString( _ctx, _keyExchangeMethod.toLocal8Bit().data() );
}
/* qsslcipher.h */
static void dao_QSslCipher_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCipher* self= (QSslCipher*) DValue_CastCData( _p[0], dao_QSslCipher_Typer );
  QString _name = self->QSslCipher::name(  );
  DaoContext_PutMBString( _ctx, _name.toLocal8Bit().data() );
}
/* qsslcipher.h */
static void dao_QSslCipher_protocol( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCipher* self= (QSslCipher*) DValue_CastCData( _p[0], dao_QSslCipher_Typer );
  QSsl::SslProtocol _protocol = self->QSslCipher::protocol(  );
  DaoContext_PutInteger( _ctx, (int) _protocol );
}
/* qsslcipher.h */
static void dao_QSslCipher_protocolString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCipher* self= (QSslCipher*) DValue_CastCData( _p[0], dao_QSslCipher_Typer );
  QString _protocolString = self->QSslCipher::protocolString(  );
  DaoContext_PutMBString( _ctx, _protocolString.toLocal8Bit().data() );
}
/* qsslcipher.h */
static void dao_QSslCipher_supportedBits( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCipher* self= (QSslCipher*) DValue_CastCData( _p[0], dao_QSslCipher_Typer );
  int _supportedBits = self->QSslCipher::supportedBits(  );
  DaoContext_PutInteger( _ctx, (int) _supportedBits );
}
/* qsslcipher.h */
static void dao_QSslCipher_usedBits( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCipher* self= (QSslCipher*) DValue_CastCData( _p[0], dao_QSslCipher_Typer );
  int _usedBits = self->QSslCipher::usedBits(  );
  DaoContext_PutInteger( _ctx, (int) _usedBits );
}

/*  qsslconfiguration.h */


static DaoNumItem dao_QSslConfiguration_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QSslConfiguration_QSslConfiguration( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_QSslConfiguration_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_defaultConfiguration( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_isNull( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_localCertificate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_peerCertificate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_peerVerifyDepth( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_peerVerifyMode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_privateKey( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_protocol( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_sessionCipher( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_setDefaultConfiguration( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_setLocalCertificate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_setPeerVerifyDepth( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_setPeerVerifyMode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_setPrivateKey( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslConfiguration_setProtocol( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QSslConfiguration_Meths[] = 
{
  { dao_QSslConfiguration_QSslConfiguration, "QSslConfiguration(  )=>QSslConfiguration" },
  { dao_QSslConfiguration_QSslConfiguration_dao_2, "QSslConfiguration( other : QSslConfiguration )=>QSslConfiguration" },
  { dao_QSslConfiguration_defaultConfiguration, "defaultConfiguration(  )=>QSslConfiguration" },
  { dao_QSslConfiguration_isNull, "isNull( self : QSslConfiguration )=>int" },
  { dao_QSslConfiguration_localCertificate, "localCertificate( self : QSslConfiguration )=>QSslCertificate" },
  { dao_QSslConfiguration_peerCertificate, "peerCertificate( self : QSslConfiguration )=>QSslCertificate" },
  { dao_QSslConfiguration_peerVerifyDepth, "peerVerifyDepth( self : QSslConfiguration )=>int" },
  { dao_QSslConfiguration_peerVerifyMode, "peerVerifyMode( self : QSslConfiguration )=>int" },
  { dao_QSslConfiguration_privateKey, "privateKey( self : QSslConfiguration )=>QSslKey" },
  { dao_QSslConfiguration_protocol, "protocol( self : QSslConfiguration )=>int" },
  { dao_QSslConfiguration_sessionCipher, "sessionCipher( self : QSslConfiguration )=>QSslCipher" },
  { dao_QSslConfiguration_setDefaultConfiguration, "setDefaultConfiguration( configuration : QSslConfiguration )" },
  { dao_QSslConfiguration_setLocalCertificate, "setLocalCertificate( self : QSslConfiguration, certificate : QSslCertificate )" },
  { dao_QSslConfiguration_setPeerVerifyDepth, "setPeerVerifyDepth( self : QSslConfiguration, depth : int )" },
  { dao_QSslConfiguration_setPeerVerifyMode, "setPeerVerifyMode( self : QSslConfiguration, mode : int )" },
  { dao_QSslConfiguration_setPrivateKey, "setPrivateKey( self : QSslConfiguration, key : QSslKey )" },
  { dao_QSslConfiguration_setProtocol, "setProtocol( self : QSslConfiguration, protocol : int )" },
  { NULL, NULL }
};
static void Dao_QSslConfiguration_Delete( void *self )
{
	delete (QSslConfiguration*) self;
}

static DaoTypeBase QSslConfiguration_Typer = 
{ "QSslConfiguration", NULL, 
  dao_QSslConfiguration_Nums,
  dao_QSslConfiguration_Meths, 
  { 0 },
  { 0 },
  Dao_QSslConfiguration_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QSslConfiguration_Typer = & QSslConfiguration_Typer;
/* qsslconfiguration.h */
static void dao_QSslConfiguration_QSslConfiguration( DaoContext *_ctx, DValue *_p[], int _n )
{
	QSslConfiguration *_self = Dao_QSslConfiguration_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QSslConfiguration_Typer );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_QSslConfiguration_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* other= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
	QSslConfiguration *_self = Dao_QSslConfiguration_New( *other );
	DaoContext_PutCData( _ctx, _self, dao_QSslConfiguration_Typer );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_defaultConfiguration( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration _defaultConfiguration = QSslConfiguration::defaultConfiguration(  );
  DaoContext_PutCData( _ctx, (void*)new QSslConfiguration( _defaultConfiguration ), dao_QSslConfiguration_Typer );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_isNull( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  bool _isNull = self->QSslConfiguration::isNull(  );
  DaoContext_PutInteger( _ctx, (int) _isNull );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_localCertificate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  QSslCertificate _localCertificate = self->QSslConfiguration::localCertificate(  );
  DaoContext_PutCData( _ctx, (void*)new QSslCertificate( _localCertificate ), dao_QSslCertificate_Typer );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_peerCertificate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  QSslCertificate _peerCertificate = self->QSslConfiguration::peerCertificate(  );
  DaoContext_PutCData( _ctx, (void*)new QSslCertificate( _peerCertificate ), dao_QSslCertificate_Typer );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_peerVerifyDepth( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  int _peerVerifyDepth = self->QSslConfiguration::peerVerifyDepth(  );
  DaoContext_PutInteger( _ctx, (int) _peerVerifyDepth );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_peerVerifyMode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  QSslSocket::PeerVerifyMode _peerVerifyMode = self->QSslConfiguration::peerVerifyMode(  );
  DaoContext_PutInteger( _ctx, (int) _peerVerifyMode );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_privateKey( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  QSslKey _privateKey = self->QSslConfiguration::privateKey(  );
  DaoContext_PutCData( _ctx, (void*)new QSslKey( _privateKey ), dao_QSslKey_Typer );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_protocol( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  QSsl::SslProtocol _protocol = self->QSslConfiguration::protocol(  );
  DaoContext_PutInteger( _ctx, (int) _protocol );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_sessionCipher( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  QSslCipher _sessionCipher = self->QSslConfiguration::sessionCipher(  );
  DaoContext_PutCData( _ctx, (void*)new QSslCipher( _sessionCipher ), dao_QSslCipher_Typer );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_setDefaultConfiguration( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* configuration= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  QSslConfiguration::setDefaultConfiguration( *configuration );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_setLocalCertificate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  QSslCertificate* certificate= (QSslCertificate*) DValue_CastCData( _p[1], dao_QSslCertificate_Typer );
  self->QSslConfiguration::setLocalCertificate( *certificate );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_setPeerVerifyDepth( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  int depth= (int) _p[1]->v.i;
  self->QSslConfiguration::setPeerVerifyDepth( depth );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_setPeerVerifyMode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  QSslSocket::PeerVerifyMode mode= (QSslSocket::PeerVerifyMode) _p[1]->v.i;
  self->QSslConfiguration::setPeerVerifyMode( mode );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_setPrivateKey( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  QSslKey* key= (QSslKey*) DValue_CastCData( _p[1], dao_QSslKey_Typer );
  self->QSslConfiguration::setPrivateKey( *key );
}
/* qsslconfiguration.h */
static void dao_QSslConfiguration_setProtocol( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslConfiguration* self= (QSslConfiguration*) DValue_CastCData( _p[0], dao_QSslConfiguration_Typer );
  QSsl::SslProtocol protocol= (QSsl::SslProtocol) _p[1]->v.i;
  self->QSslConfiguration::setProtocol( protocol );
}

/*  qsslconfiguration.h */


static DaoNumItem dao_QSslConfigurationPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QSslConfigurationPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QSslConfigurationPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QSslConfigurationPrivate_Typer = 
{ "QSslConfigurationPrivate", NULL, 
  dao_QSslConfigurationPrivate_Nums,
  dao_QSslConfigurationPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QSslConfigurationPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QSslConfigurationPrivate_Typer = & QSslConfigurationPrivate_Typer;

/*  qsslerror.h */


static DaoNumItem dao_QSslError_Nums[] =
{
  { "NoError", DAO_INTEGER, QSslError::NoError },
  { "UnableToGetIssuerCertificate", DAO_INTEGER, QSslError::UnableToGetIssuerCertificate },
  { "UnableToDecryptCertificateSignature", DAO_INTEGER, QSslError::UnableToDecryptCertificateSignature },
  { "UnableToDecodeIssuerPublicKey", DAO_INTEGER, QSslError::UnableToDecodeIssuerPublicKey },
  { "CertificateSignatureFailed", DAO_INTEGER, QSslError::CertificateSignatureFailed },
  { "CertificateNotYetValid", DAO_INTEGER, QSslError::CertificateNotYetValid },
  { "CertificateExpired", DAO_INTEGER, QSslError::CertificateExpired },
  { "InvalidNotBeforeField", DAO_INTEGER, QSslError::InvalidNotBeforeField },
  { "InvalidNotAfterField", DAO_INTEGER, QSslError::InvalidNotAfterField },
  { "SelfSignedCertificate", DAO_INTEGER, QSslError::SelfSignedCertificate },
  { "SelfSignedCertificateInChain", DAO_INTEGER, QSslError::SelfSignedCertificateInChain },
  { "UnableToGetLocalIssuerCertificate", DAO_INTEGER, QSslError::UnableToGetLocalIssuerCertificate },
  { "UnableToVerifyFirstCertificate", DAO_INTEGER, QSslError::UnableToVerifyFirstCertificate },
  { "CertificateRevoked", DAO_INTEGER, QSslError::CertificateRevoked },
  { "InvalidCaCertificate", DAO_INTEGER, QSslError::InvalidCaCertificate },
  { "PathLengthExceeded", DAO_INTEGER, QSslError::PathLengthExceeded },
  { "InvalidPurpose", DAO_INTEGER, QSslError::InvalidPurpose },
  { "CertificateUntrusted", DAO_INTEGER, QSslError::CertificateUntrusted },
  { "CertificateRejected", DAO_INTEGER, QSslError::CertificateRejected },
  { "SubjectIssuerMismatch", DAO_INTEGER, QSslError::SubjectIssuerMismatch },
  { "AuthorityIssuerSerialNumberMismatch", DAO_INTEGER, QSslError::AuthorityIssuerSerialNumberMismatch },
  { "NoPeerCertificate", DAO_INTEGER, QSslError::NoPeerCertificate },
  { "HostNameMismatch", DAO_INTEGER, QSslError::HostNameMismatch },
  { "NoSslSupport", DAO_INTEGER, QSslError::NoSslSupport },
  { "UnspecifiedError", DAO_INTEGER, QSslError::UnspecifiedError },
  { NULL, 0, 0 }
};
static void dao_QSslError_QSslError( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslError_QSslError_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslError_QSslError_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslError_QSslError_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslError_certificate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslError_error( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslError_errorString( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QSslError_Meths[] = 
{
  { dao_QSslError_QSslError, "QSslError(  )=>QSslError" },
  { dao_QSslError_QSslError_dao_2, "QSslError( error : int )=>QSslError" },
  { dao_QSslError_QSslError_dao_3, "QSslError( error : int, certificate : QSslCertificate )=>QSslError" },
  { dao_QSslError_QSslError_dao_4, "QSslError( other : QSslError )=>QSslError" },
  { dao_QSslError_certificate, "certificate( self : QSslError )=>QSslCertificate" },
  { dao_QSslError_error, "error( self : QSslError )=>int" },
  { dao_QSslError_errorString, "errorString( self : QSslError )=>string" },
  { NULL, NULL }
};
static void Dao_QSslError_Delete( void *self )
{
	delete (QSslError*) self;
}

static DaoTypeBase QSslError_Typer = 
{ "QSslError", NULL, 
  dao_QSslError_Nums,
  dao_QSslError_Meths, 
  { 0 },
  { 0 },
  Dao_QSslError_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QSslError_Typer = & QSslError_Typer;
/* qsslerror.h */
static void dao_QSslError_QSslError( DaoContext *_ctx, DValue *_p[], int _n )
{
	QSslError *_self = Dao_QSslError_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QSslError_Typer );
}
/* qsslerror.h */
static void dao_QSslError_QSslError_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslError::SslError error= (QSslError::SslError) _p[0]->v.i;
	QSslError *_self = Dao_QSslError_New( error );
	DaoContext_PutCData( _ctx, _self, dao_QSslError_Typer );
}
/* qsslerror.h */
static void dao_QSslError_QSslError_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslError::SslError error= (QSslError::SslError) _p[0]->v.i;
  QSslCertificate* certificate= (QSslCertificate*) DValue_CastCData( _p[1], dao_QSslCertificate_Typer );
	QSslError *_self = Dao_QSslError_New( error, *certificate );
	DaoContext_PutCData( _ctx, _self, dao_QSslError_Typer );
}
/* qsslerror.h */
static void dao_QSslError_QSslError_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslError* other= (QSslError*) DValue_CastCData( _p[0], dao_QSslError_Typer );
	QSslError *_self = Dao_QSslError_New( *other );
	DaoContext_PutCData( _ctx, _self, dao_QSslError_Typer );
}
/* qsslerror.h */
static void dao_QSslError_certificate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslError* self= (QSslError*) DValue_CastCData( _p[0], dao_QSslError_Typer );
  QSslCertificate _certificate = self->QSslError::certificate(  );
  DaoContext_PutCData( _ctx, (void*)new QSslCertificate( _certificate ), dao_QSslCertificate_Typer );
}
/* qsslerror.h */
static void dao_QSslError_error( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslError* self= (QSslError*) DValue_CastCData( _p[0], dao_QSslError_Typer );
  QSslError::SslError _error = self->QSslError::error(  );
  DaoContext_PutInteger( _ctx, (int) _error );
}
/* qsslerror.h */
static void dao_QSslError_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslError* self= (QSslError*) DValue_CastCData( _p[0], dao_QSslError_Typer );
  QString _errorString = self->QSslError::errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}

/*  qsslkey.h */


static DaoNumItem dao_QSslKey_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QSslKey_QSslKey( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslKey_QSslKey_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslKey_QSslKey_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslKey_QSslKey_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslKey_algorithm( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslKey_clear( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslKey_isNull( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslKey_length( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslKey_toDer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslKey_toPem( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslKey_type( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QSslKey_Meths[] = 
{
  { dao_QSslKey_QSslKey, "QSslKey(  )=>QSslKey" },
  { dao_QSslKey_QSslKey_dao_3, "QSslKey( device : QIODevice, algorithm : int, format : int = QSsl::Pem, type : int = QSsl::PrivateKey, passPhrase : string|null=null )=>QSslKey" },
  { dao_QSslKey_QSslKey_dao_2, "QSslKey( encoded : string, algorithm : int, format : int = QSsl::Pem, type : int = QSsl::PrivateKey, passPhrase : string|null=null )=>QSslKey" },
  { dao_QSslKey_QSslKey_dao_4, "QSslKey( other : QSslKey )=>QSslKey" },
  { dao_QSslKey_algorithm, "algorithm( self : QSslKey )=>int" },
  { dao_QSslKey_clear, "clear( self : QSslKey )" },
  { dao_QSslKey_isNull, "isNull( self : QSslKey )=>int" },
  { dao_QSslKey_length, "length( self : QSslKey )=>int" },
  { dao_QSslKey_toDer, "toDer( self : QSslKey, passPhrase : string|null=null )=>string" },
  { dao_QSslKey_toPem, "toPem( self : QSslKey, passPhrase : string|null=null )=>string" },
  { dao_QSslKey_type, "type( self : QSslKey )=>int" },
  { NULL, NULL }
};
static void Dao_QSslKey_Delete( void *self )
{
	delete (QSslKey*) self;
}

static DaoTypeBase QSslKey_Typer = 
{ "QSslKey", NULL, 
  dao_QSslKey_Nums,
  dao_QSslKey_Meths, 
  { 0 },
  { 0 },
  Dao_QSslKey_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QSslKey_Typer = & QSslKey_Typer;
/* qsslkey.h */
static void dao_QSslKey_QSslKey( DaoContext *_ctx, DValue *_p[], int _n )
{
	QSslKey *_self = Dao_QSslKey_New(  );
	DaoContext_PutCData( _ctx, _self, dao_QSslKey_Typer );
}
/* qsslkey.h */
static void dao_QSslKey_QSslKey_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QIODevice* device= (QIODevice*) DValue_CastCData( _p[0], dao_QIODevice_Typer );
  QSsl::KeyAlgorithm algorithm= (QSsl::KeyAlgorithm) _p[1]->v.i;
  QSsl::EncodingFormat format= (QSsl::EncodingFormat) _p[2]->v.i;
  QSsl::KeyType type= (QSsl::KeyType) _p[3]->v.i;
  char *_mbs4 = DValue_GetMBString( _p[4] );
  QByteArray passPhrase( _mbs4 );
	QSslKey *_self = Dao_QSslKey_New( device, algorithm, format, type, passPhrase );
	DaoContext_PutCData( _ctx, _self, dao_QSslKey_Typer );
}
/* qsslkey.h */
static void dao_QSslKey_QSslKey_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QByteArray encoded( _mbs0 );
  QSsl::KeyAlgorithm algorithm= (QSsl::KeyAlgorithm) _p[1]->v.i;
  QSsl::EncodingFormat format= (QSsl::EncodingFormat) _p[2]->v.i;
  QSsl::KeyType type= (QSsl::KeyType) _p[3]->v.i;
  char *_mbs4 = DValue_GetMBString( _p[4] );
  QByteArray passPhrase( _mbs4 );
	QSslKey *_self = Dao_QSslKey_New( encoded, algorithm, format, type, passPhrase );
	DaoContext_PutCData( _ctx, _self, dao_QSslKey_Typer );
}
/* qsslkey.h */
static void dao_QSslKey_QSslKey_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslKey* other= (QSslKey*) DValue_CastCData( _p[0], dao_QSslKey_Typer );
	QSslKey *_self = Dao_QSslKey_New( *other );
	DaoContext_PutCData( _ctx, _self, dao_QSslKey_Typer );
}
/* qsslkey.h */
static void dao_QSslKey_algorithm( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslKey* self= (QSslKey*) DValue_CastCData( _p[0], dao_QSslKey_Typer );
  QSsl::KeyAlgorithm _algorithm = self->QSslKey::algorithm(  );
  DaoContext_PutInteger( _ctx, (int) _algorithm );
}
/* qsslkey.h */
static void dao_QSslKey_clear( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslKey* self= (QSslKey*) DValue_CastCData( _p[0], dao_QSslKey_Typer );
  self->QSslKey::clear(  );
}
/* qsslkey.h */
static void dao_QSslKey_isNull( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslKey* self= (QSslKey*) DValue_CastCData( _p[0], dao_QSslKey_Typer );
  bool _isNull = self->QSslKey::isNull(  );
  DaoContext_PutInteger( _ctx, (int) _isNull );
}
/* qsslkey.h */
static void dao_QSslKey_length( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslKey* self= (QSslKey*) DValue_CastCData( _p[0], dao_QSslKey_Typer );
  int _length = self->QSslKey::length(  );
  DaoContext_PutInteger( _ctx, (int) _length );
}
/* qsslkey.h */
static void dao_QSslKey_toDer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslKey* self= (QSslKey*) DValue_CastCData( _p[0], dao_QSslKey_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray passPhrase( _mbs1 );
  QByteArray _toDer;
  if(_n<=1) _toDer = self->QSslKey::toDer(  );
  else _toDer = self->QSslKey::toDer( passPhrase );
  DaoContext_PutMBString( _ctx, _toDer.data() );
}
/* qsslkey.h */
static void dao_QSslKey_toPem( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslKey* self= (QSslKey*) DValue_CastCData( _p[0], dao_QSslKey_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray passPhrase( _mbs1 );
  QByteArray _toPem;
  if(_n<=1) _toPem = self->QSslKey::toPem(  );
  else _toPem = self->QSslKey::toPem( passPhrase );
  DaoContext_PutMBString( _ctx, _toPem.data() );
}
/* qsslkey.h */
static void dao_QSslKey_type( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslKey* self= (QSslKey*) DValue_CastCData( _p[0], dao_QSslKey_Typer );
  QSsl::KeyType _type = self->QSslKey::type(  );
  DaoContext_PutInteger( _ctx, (int) _type );
}

/*  qtcpsocket.h */


static DaoNumItem dao_QTcpSocket_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QTcpSocket_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpSocket_QTcpSocket_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpSocket_QTcpSocket( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QTcpSocket_Meths[] = 
{
  { dao_QTcpSocket_qobject_cast, "qobject_cast( object : QObject )=>QTcpSocket" },
  { dao_QTcpSocket_QTcpSocket_dao_2, "QTcpSocket( parent : QObject|null=null )=>QTcpSocket" },
  { dao_QTcpSocket_QTcpSocket, "QTcpSocket( dd : QTcpSocketPrivate, parent : QObject|null=null )=>QTcpSocket" },
  { NULL, NULL }
};
static void Dao_QTcpSocket_Delete( void *self )
{
	delete (QTcpSocket*) self;
}
void* dao_cast_QTcpSocket_to_QAbstractSocket( void *data )
{
	return (QAbstractSocket*)(QTcpSocket*)data;
}

static DaoTypeBase QTcpSocket_Typer = 
{ "QTcpSocket", NULL, 
  dao_QTcpSocket_Nums,
  dao_QTcpSocket_Meths, 
  { dao_QAbstractSocket_Typer, 0 },
  { dao_cast_QTcpSocket_to_QAbstractSocket,0 },
  Dao_QTcpSocket_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QTcpSocket_Typer = & QTcpSocket_Typer;
static void dao_QTcpSocket_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QTcpSocket *to2 = qobject_cast<QTcpSocket*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QTcpSocket_Typer );
}
/* qtcpsocket.h */
static void dao_QTcpSocket_QTcpSocket_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QTcpSocket *_self = DaoCxx_QTcpSocket_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qtcpsocket.h */
static void dao_QTcpSocket_QTcpSocket( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpSocketPrivate* dd= (QTcpSocketPrivate*) DValue_CastCData( _p[0], dao_QTcpSocketPrivate_Typer );
  QObject* parent= (QObject*) DValue_CastCData( _p[1], dao_QObject_Typer );
	DaoCxx_QTcpSocket *_self = DaoCxx_QTcpSocket_New( *dd, parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}

/*  qsslsocket.h */


static DaoNumItem dao_QSslSocket_Nums[] =
{
  { "UnencryptedMode", DAO_INTEGER, QSslSocket::UnencryptedMode },
  { "SslClientMode", DAO_INTEGER, QSslSocket::SslClientMode },
  { "SslServerMode", DAO_INTEGER, QSslSocket::SslServerMode },
  { "VerifyNone", DAO_INTEGER, QSslSocket::VerifyNone },
  { "QueryPeer", DAO_INTEGER, QSslSocket::QueryPeer },
  { "VerifyPeer", DAO_INTEGER, QSslSocket::VerifyPeer },
  { "AutoVerifyPeer", DAO_INTEGER, QSslSocket::AutoVerifyPeer },
  { NULL, 0, 0 }
};
static void dao_QSslSocket_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_QSslSocket( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_abort( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_addCaCertificate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_addCaCertificates( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_addDefaultCaCertificate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_addDefaultCaCertificates( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_atEnd( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_bytesAvailable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_bytesToWrite( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_canReadLine( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_close( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_connectToHostEncrypted( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_connectToHostEncrypted_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_connectToHostImplementation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_disconnectFromHostImplementation( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_encryptedBytesAvailable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_encryptedBytesToWrite( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_flush( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_ignoreSslErrors_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_isEncrypted( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_localCertificate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_mode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_peerCertificate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_peerVerifyDepth( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_peerVerifyMode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_privateKey( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_protocol( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_readData( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_sessionCipher( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_setCiphers_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_setLocalCertificate( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_setLocalCertificate_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_setPeerVerifyDepth( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_setPeerVerifyMode( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_setPrivateKey( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_setPrivateKey_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_setProtocol( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_setReadBufferSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_setSocketDescriptor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_setSocketOption( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_setSslConfiguration( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_socketOption( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_sslConfiguration( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_startClientEncryption( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_startServerEncryption( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_supportsSsl( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_waitForBytesWritten( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_waitForConnected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_waitForDisconnected( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_waitForEncrypted( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_waitForReadyRead( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QSslSocket_writeData( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QSslSocket_Meths[] = 
{
  { dao_QSslSocket_qobject_cast, "qobject_cast( object : QObject )=>QSslSocket" },
  { dao_QSslSocket_QSslSocket, "QSslSocket( parent : QObject|null=null )=>QSslSocket" },
  { dao_QSslSocket_abort, "abort( self : QSslSocket )" },
  { dao_QSslSocket_addCaCertificate, "addCaCertificate( self : QSslSocket, certificate : QSslCertificate )" },
  { dao_QSslSocket_addCaCertificates, "addCaCertificates( self : QSslSocket, path : string, format : int = QSsl::Pem, syntax : int = QRegExp::FixedString )=>int" },
  { dao_QSslSocket_addDefaultCaCertificate, "addDefaultCaCertificate( certificate : QSslCertificate )" },
  { dao_QSslSocket_addDefaultCaCertificates, "addDefaultCaCertificates( path : string, format : int = QSsl::Pem, syntax : int = QRegExp::FixedString )=>int" },
  { dao_QSslSocket_atEnd, "atEnd( self : QSslSocket )=>int" },
  { dao_QSslSocket_bytesAvailable, "bytesAvailable( self : QSslSocket )=>double" },
  { dao_QSslSocket_bytesToWrite, "bytesToWrite( self : QSslSocket )=>double" },
  { dao_QSslSocket_canReadLine, "canReadLine( self : QSslSocket )=>int" },
  { dao_QSslSocket_close, "close( self : QSslSocket )" },
  { dao_QSslSocket_connectToHostEncrypted, "connectToHostEncrypted( self : QSslSocket, hostName : string, port : int, mode : int = ReadWrite )" },
  { dao_QSslSocket_connectToHostEncrypted_dao_2, "connectToHostEncrypted( self : QSslSocket, hostName : string, port : int, sslPeerName : string, mode : int = ReadWrite )" },
  { dao_QSslSocket_connectToHostImplementation, "connectToHostImplementation( self : QSslSocket, hostName : string, port : int, openMode : int )" },
  { dao_QSslSocket_disconnectFromHostImplementation, "disconnectFromHostImplementation( self : QSslSocket )" },
  { dao_QSslSocket_encryptedBytesAvailable, "encryptedBytesAvailable( self : QSslSocket )=>double" },
  { dao_QSslSocket_encryptedBytesToWrite, "encryptedBytesToWrite( self : QSslSocket )=>double" },
  { dao_QSslSocket_flush, "flush( self : QSslSocket )=>int" },
  { dao_QSslSocket_ignoreSslErrors_dao_2, "ignoreSslErrors( self : QSslSocket )" },
  { dao_QSslSocket_isEncrypted, "isEncrypted( self : QSslSocket )=>int" },
  { dao_QSslSocket_localCertificate, "localCertificate( self : QSslSocket )=>QSslCertificate" },
  { dao_QSslSocket_mode, "mode( self : QSslSocket )=>int" },
  { dao_QSslSocket_peerCertificate, "peerCertificate( self : QSslSocket )=>QSslCertificate" },
  { dao_QSslSocket_peerVerifyDepth, "peerVerifyDepth( self : QSslSocket )=>int" },
  { dao_QSslSocket_peerVerifyMode, "peerVerifyMode( self : QSslSocket )=>int" },
  { dao_QSslSocket_privateKey, "privateKey( self : QSslSocket )=>QSslKey" },
  { dao_QSslSocket_protocol, "protocol( self : QSslSocket )=>int" },
  { dao_QSslSocket_readData, "readData( self : QSslSocket, data : string, maxlen : double )=>double" },
  { dao_QSslSocket_sessionCipher, "sessionCipher( self : QSslSocket )=>QSslCipher" },
  { dao_QSslSocket_setCiphers_dao_2, "setCiphers( self : QSslSocket, ciphers : string )" },
  { dao_QSslSocket_setLocalCertificate, "setLocalCertificate( self : QSslSocket, certificate : QSslCertificate )" },
  { dao_QSslSocket_setLocalCertificate_dao_2, "setLocalCertificate( self : QSslSocket, fileName : string, format : int = QSsl::Pem )" },
  { dao_QSslSocket_setPeerVerifyDepth, "setPeerVerifyDepth( self : QSslSocket, depth : int )" },
  { dao_QSslSocket_setPeerVerifyMode, "setPeerVerifyMode( self : QSslSocket, mode : int )" },
  { dao_QSslSocket_setPrivateKey, "setPrivateKey( self : QSslSocket, key : QSslKey )" },
  { dao_QSslSocket_setPrivateKey_dao_2, "setPrivateKey( self : QSslSocket, fileName : string, algorithm : int = QSsl::Rsa, format : int = QSsl::Pem, passPhrase : string|null=null )" },
  { dao_QSslSocket_setProtocol, "setProtocol( self : QSslSocket, protocol : int )" },
  { dao_QSslSocket_setReadBufferSize, "setReadBufferSize( self : QSslSocket, size : double )" },
  { dao_QSslSocket_setSocketDescriptor, "setSocketDescriptor( self : QSslSocket, socketDescriptor : int, state : int = ConnectedState, openMode : int = ReadWrite )=>int" },
  { dao_QSslSocket_setSocketOption, "setSocketOption( self : QSslSocket, option : int, value : QVariant )" },
  { dao_QSslSocket_setSslConfiguration, "setSslConfiguration( self : QSslSocket, config : QSslConfiguration )" },
  { dao_QSslSocket_socketOption, "socketOption( self : QSslSocket, option : int )=>QVariant" },
  { dao_QSslSocket_sslConfiguration, "sslConfiguration( self : QSslSocket )=>QSslConfiguration" },
  { dao_QSslSocket_startClientEncryption, "startClientEncryption( self : QSslSocket )" },
  { dao_QSslSocket_startServerEncryption, "startServerEncryption( self : QSslSocket )" },
  { dao_QSslSocket_supportsSsl, "supportsSsl(  )=>int" },
  { dao_QSslSocket_waitForBytesWritten, "waitForBytesWritten( self : QSslSocket, msecs : int = 30000 )=>int" },
  { dao_QSslSocket_waitForConnected, "waitForConnected( self : QSslSocket, msecs : int = 30000 )=>int" },
  { dao_QSslSocket_waitForDisconnected, "waitForDisconnected( self : QSslSocket, msecs : int = 30000 )=>int" },
  { dao_QSslSocket_waitForEncrypted, "waitForEncrypted( self : QSslSocket, msecs : int = 30000 )=>int" },
  { dao_QSslSocket_waitForReadyRead, "waitForReadyRead( self : QSslSocket, msecs : int = 30000 )=>int" },
  { dao_QSslSocket_writeData, "writeData( self : QSslSocket, data : string, len : double )=>double" },
  { NULL, NULL }
};
static void Dao_QSslSocket_Delete( void *self )
{
	delete (QSslSocket*) self;
}
void* dao_cast_QSslSocket_to_QTcpSocket( void *data )
{
	return (QTcpSocket*)(QSslSocket*)data;
}

static DaoTypeBase QSslSocket_Typer = 
{ "QSslSocket", NULL, 
  dao_QSslSocket_Nums,
  dao_QSslSocket_Meths, 
  { dao_QTcpSocket_Typer, 0 },
  { dao_cast_QSslSocket_to_QTcpSocket,0 },
  Dao_QSslSocket_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QSslSocket_Typer = & QSslSocket_Typer;
static void dao_QSslSocket_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QSslSocket *to2 = qobject_cast<QSslSocket*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QSslSocket_Typer );
}
/* qsslsocket.h */
static void dao_QSslSocket_QSslSocket( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QSslSocket *_self = DaoCxx_QSslSocket_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qsslsocket.h */
static void dao_QSslSocket_abort( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  self->QSslSocket::abort(  );
}
/* qsslsocket.h */
static void dao_QSslSocket_addCaCertificate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSslCertificate* certificate= (QSslCertificate*) DValue_CastCData( _p[1], dao_QSslCertificate_Typer );
  self->QSslSocket::addCaCertificate( *certificate );
}
/* qsslsocket.h */
static void dao_QSslSocket_addCaCertificates( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString path( _mbs1 );
  QSsl::EncodingFormat format= (QSsl::EncodingFormat) _p[2]->v.i;
  QRegExp::PatternSyntax syntax= (QRegExp::PatternSyntax) _p[3]->v.i;
  bool _addCaCertificates = self->QSslSocket::addCaCertificates( path, format, syntax );
  DaoContext_PutInteger( _ctx, (int) _addCaCertificates );
}
/* qsslsocket.h */
static void dao_QSslSocket_addDefaultCaCertificate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslCertificate* certificate= (QSslCertificate*) DValue_CastCData( _p[0], dao_QSslCertificate_Typer );
  QSslSocket::addDefaultCaCertificate( *certificate );
}
/* qsslsocket.h */
static void dao_QSslSocket_addDefaultCaCertificates( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString path( _mbs0 );
  QSsl::EncodingFormat format= (QSsl::EncodingFormat) _p[1]->v.i;
  QRegExp::PatternSyntax syntax= (QRegExp::PatternSyntax) _p[2]->v.i;
  bool _addDefaultCaCertificates = QSslSocket::addDefaultCaCertificates( path, format, syntax );
  DaoContext_PutInteger( _ctx, (int) _addDefaultCaCertificates );
}
/* qsslsocket.h */
static void dao_QSslSocket_atEnd( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  bool _atEnd = self->QSslSocket::atEnd(  );
  DaoContext_PutInteger( _ctx, (int) _atEnd );
}
/* qsslsocket.h */
static void dao_QSslSocket_bytesAvailable( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  qint64 _bytesAvailable = self->QSslSocket::bytesAvailable(  );
  DaoContext_PutDouble( _ctx, (double) _bytesAvailable );
}
/* qsslsocket.h */
static void dao_QSslSocket_bytesToWrite( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  qint64 _bytesToWrite = self->QSslSocket::bytesToWrite(  );
  DaoContext_PutDouble( _ctx, (double) _bytesToWrite );
}
/* qsslsocket.h */
static void dao_QSslSocket_canReadLine( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  bool _canReadLine = self->QSslSocket::canReadLine(  );
  DaoContext_PutInteger( _ctx, (int) _canReadLine );
}
/* qsslsocket.h */
static void dao_QSslSocket_close( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  self->QSslSocket::close(  );
}
/* qsslsocket.h */
static void dao_QSslSocket_connectToHostEncrypted( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString hostName( _mbs1 );
  quint16 port= (quint16) _p[2]->v.i;
  QSslSocket::OpenMode mode= (QSslSocket::OpenMode) _p[3]->v.i;
  self->QSslSocket::connectToHostEncrypted( hostName, port, mode );
}
/* qsslsocket.h */
static void dao_QSslSocket_connectToHostEncrypted_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString hostName( _mbs1 );
  quint16 port= (quint16) _p[2]->v.i;
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString sslPeerName( _mbs3 );
  QSslSocket::OpenMode mode= (QSslSocket::OpenMode) _p[4]->v.i;
  self->QSslSocket::connectToHostEncrypted( hostName, port, sslPeerName, mode );
}
/* qsslsocket.h */
static void dao_QSslSocket_connectToHostImplementation( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QSslSocket *self = (DaoCxx_QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString hostName( _mbs1 );
  quint16 port= (quint16) _p[2]->v.i;
  QSslSocket::OpenMode openMode= (QSslSocket::OpenMode) _p[3]->v.i;
  self->DaoWrap_connectToHostImplementation( hostName, port, openMode );
}
/* qsslsocket.h */
static void dao_QSslSocket_disconnectFromHostImplementation( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QSslSocket *self = (DaoCxx_QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  self->DaoWrap_disconnectFromHostImplementation(  );
}
/* qsslsocket.h */
static void dao_QSslSocket_encryptedBytesAvailable( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  qint64 _encryptedBytesAvailable = self->QSslSocket::encryptedBytesAvailable(  );
  DaoContext_PutDouble( _ctx, (double) _encryptedBytesAvailable );
}
/* qsslsocket.h */
static void dao_QSslSocket_encryptedBytesToWrite( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  qint64 _encryptedBytesToWrite = self->QSslSocket::encryptedBytesToWrite(  );
  DaoContext_PutDouble( _ctx, (double) _encryptedBytesToWrite );
}
/* qsslsocket.h */
static void dao_QSslSocket_flush( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  bool _flush = self->QSslSocket::flush(  );
  DaoContext_PutInteger( _ctx, (int) _flush );
}
/* qsslsocket.h */
static void dao_QSslSocket_ignoreSslErrors_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  self->QSslSocket::ignoreSslErrors(  );
}
/* qsslsocket.h */
static void dao_QSslSocket_isEncrypted( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  bool _isEncrypted = self->QSslSocket::isEncrypted(  );
  DaoContext_PutInteger( _ctx, (int) _isEncrypted );
}
/* qsslsocket.h */
static void dao_QSslSocket_localCertificate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSslCertificate _localCertificate = self->QSslSocket::localCertificate(  );
  DaoContext_PutCData( _ctx, (void*)new QSslCertificate( _localCertificate ), dao_QSslCertificate_Typer );
}
/* qsslsocket.h */
static void dao_QSslSocket_mode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSslSocket::SslMode _mode = self->QSslSocket::mode(  );
  DaoContext_PutInteger( _ctx, (int) _mode );
}
/* qsslsocket.h */
static void dao_QSslSocket_peerCertificate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSslCertificate _peerCertificate = self->QSslSocket::peerCertificate(  );
  DaoContext_PutCData( _ctx, (void*)new QSslCertificate( _peerCertificate ), dao_QSslCertificate_Typer );
}
/* qsslsocket.h */
static void dao_QSslSocket_peerVerifyDepth( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  int _peerVerifyDepth = self->QSslSocket::peerVerifyDepth(  );
  DaoContext_PutInteger( _ctx, (int) _peerVerifyDepth );
}
/* qsslsocket.h */
static void dao_QSslSocket_peerVerifyMode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSslSocket::PeerVerifyMode _peerVerifyMode = self->QSslSocket::peerVerifyMode(  );
  DaoContext_PutInteger( _ctx, (int) _peerVerifyMode );
}
/* qsslsocket.h */
static void dao_QSslSocket_privateKey( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSslKey _privateKey = self->QSslSocket::privateKey(  );
  DaoContext_PutCData( _ctx, (void*)new QSslKey( _privateKey ), dao_QSslKey_Typer );
}
/* qsslsocket.h */
static void dao_QSslSocket_protocol( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSsl::SslProtocol _protocol = self->QSslSocket::protocol(  );
  DaoContext_PutInteger( _ctx, (int) _protocol );
}
/* qsslsocket.h */
static void dao_QSslSocket_readData( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QSslSocket *self = (DaoCxx_QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  char* data= (char*) DValue_GetMBString( _p[1] );
  qint64 maxlen= (qint64) _p[2]->v.d;
  qint64 _readData = self->DaoWrap_readData( data, maxlen );
  DString_SetMBS( _p[1]->v.s, (char*) data );
  DaoContext_PutDouble( _ctx, (double) _readData );
}
/* qsslsocket.h */
static void dao_QSslSocket_sessionCipher( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSslCipher _sessionCipher = self->QSslSocket::sessionCipher(  );
  DaoContext_PutCData( _ctx, (void*)new QSslCipher( _sessionCipher ), dao_QSslCipher_Typer );
}
/* qsslsocket.h */
static void dao_QSslSocket_setCiphers_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString ciphers( _mbs1 );
  self->QSslSocket::setCiphers( ciphers );
}
/* qsslsocket.h */
static void dao_QSslSocket_setLocalCertificate( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSslCertificate* certificate= (QSslCertificate*) DValue_CastCData( _p[1], dao_QSslCertificate_Typer );
  self->QSslSocket::setLocalCertificate( *certificate );
}
/* qsslsocket.h */
static void dao_QSslSocket_setLocalCertificate_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString fileName( _mbs1 );
  QSsl::EncodingFormat format= (QSsl::EncodingFormat) _p[2]->v.i;
  self->QSslSocket::setLocalCertificate( fileName, format );
}
/* qsslsocket.h */
static void dao_QSslSocket_setPeerVerifyDepth( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  int depth= (int) _p[1]->v.i;
  self->QSslSocket::setPeerVerifyDepth( depth );
}
/* qsslsocket.h */
static void dao_QSslSocket_setPeerVerifyMode( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSslSocket::PeerVerifyMode mode= (QSslSocket::PeerVerifyMode) _p[1]->v.i;
  self->QSslSocket::setPeerVerifyMode( mode );
}
/* qsslsocket.h */
static void dao_QSslSocket_setPrivateKey( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSslKey* key= (QSslKey*) DValue_CastCData( _p[1], dao_QSslKey_Typer );
  self->QSslSocket::setPrivateKey( *key );
}
/* qsslsocket.h */
static void dao_QSslSocket_setPrivateKey_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString fileName( _mbs1 );
  QSsl::KeyAlgorithm algorithm= (QSsl::KeyAlgorithm) _p[2]->v.i;
  QSsl::EncodingFormat format= (QSsl::EncodingFormat) _p[3]->v.i;
  char *_mbs4 = DValue_GetMBString( _p[4] );
  QByteArray passPhrase( _mbs4 );
  if(_n<=4) self->QSslSocket::setPrivateKey( fileName, algorithm, format );
  else self->QSslSocket::setPrivateKey( fileName, algorithm, format, passPhrase );
}
/* qsslsocket.h */
static void dao_QSslSocket_setProtocol( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSsl::SslProtocol protocol= (QSsl::SslProtocol) _p[1]->v.i;
  self->QSslSocket::setProtocol( protocol );
}
/* qsslsocket.h */
static void dao_QSslSocket_setReadBufferSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  qint64 size= (qint64) _p[1]->v.d;
  self->QSslSocket::setReadBufferSize( size );
}
/* qsslsocket.h */
static void dao_QSslSocket_setSocketDescriptor( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  int socketDescriptor= (int) _p[1]->v.i;
  QAbstractSocket::SocketState state= (QAbstractSocket::SocketState) _p[2]->v.i;
  QSslSocket::OpenMode openMode= (QSslSocket::OpenMode) _p[3]->v.i;
  bool _setSocketDescriptor = self->QSslSocket::setSocketDescriptor( socketDescriptor, state, openMode );
  DaoContext_PutInteger( _ctx, (int) _setSocketDescriptor );
}
/* qsslsocket.h */
static void dao_QSslSocket_setSocketOption( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QAbstractSocket::SocketOption option= (QAbstractSocket::SocketOption) _p[1]->v.i;
  QVariant* value= (QVariant*) DValue_CastCData( _p[2], dao_QVariant_Typer );
  self->QSslSocket::setSocketOption( option, *value );
}
/* qsslsocket.h */
static void dao_QSslSocket_setSslConfiguration( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSslConfiguration* config= (QSslConfiguration*) DValue_CastCData( _p[1], dao_QSslConfiguration_Typer );
  self->QSslSocket::setSslConfiguration( *config );
}
/* qsslsocket.h */
static void dao_QSslSocket_socketOption( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QAbstractSocket::SocketOption option= (QAbstractSocket::SocketOption) _p[1]->v.i;
  QVariant _socketOption = self->QSslSocket::socketOption( option );
  DaoContext_PutCData( _ctx, (void*)new QVariant( _socketOption ), dao_QVariant_Typer );
}
/* qsslsocket.h */
static void dao_QSslSocket_sslConfiguration( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  QSslConfiguration _sslConfiguration = self->QSslSocket::sslConfiguration(  );
  DaoContext_PutCData( _ctx, (void*)new QSslConfiguration( _sslConfiguration ), dao_QSslConfiguration_Typer );
}
/* qsslsocket.h */
static void dao_QSslSocket_startClientEncryption( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  self->QSslSocket::startClientEncryption(  );
}
/* qsslsocket.h */
static void dao_QSslSocket_startServerEncryption( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  self->QSslSocket::startServerEncryption(  );
}
/* qsslsocket.h */
static void dao_QSslSocket_supportsSsl( DaoContext *_ctx, DValue *_p[], int _n )
{
  bool _supportsSsl = QSslSocket::supportsSsl(  );
  DaoContext_PutInteger( _ctx, (int) _supportsSsl );
}
/* qsslsocket.h */
static void dao_QSslSocket_waitForBytesWritten( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForBytesWritten = self->QSslSocket::waitForBytesWritten( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForBytesWritten );
}
/* qsslsocket.h */
static void dao_QSslSocket_waitForConnected( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForConnected = self->QSslSocket::waitForConnected( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForConnected );
}
/* qsslsocket.h */
static void dao_QSslSocket_waitForDisconnected( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForDisconnected = self->QSslSocket::waitForDisconnected( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForDisconnected );
}
/* qsslsocket.h */
static void dao_QSslSocket_waitForEncrypted( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForEncrypted = self->QSslSocket::waitForEncrypted( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForEncrypted );
}
/* qsslsocket.h */
static void dao_QSslSocket_waitForReadyRead( DaoContext *_ctx, DValue *_p[], int _n )
{
  QSslSocket* self= (QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  int msecs= (int) _p[1]->v.i;
  bool _waitForReadyRead = self->QSslSocket::waitForReadyRead( msecs );
  DaoContext_PutInteger( _ctx, (int) _waitForReadyRead );
}
/* qsslsocket.h */
static void dao_QSslSocket_writeData( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QSslSocket *self = (DaoCxx_QSslSocket*) DValue_CastCData( _p[0], dao_QSslSocket_Typer );
  char* data= (char*) DValue_GetMBString( _p[1] );
  qint64 len= (qint64) _p[2]->v.d;
  qint64 _writeData = self->DaoWrap_writeData( data, len );
  DaoContext_PutDouble( _ctx, (double) _writeData );
}

/*  qtcpserver.h */


static DaoNumItem dao_QTcpServer_Nums[] =
{
  { NULL, 0, 0 }
};
static void dao_QTcpServer_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_QTcpServer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_addPendingConnection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_close( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_errorString( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_hasPendingConnections__QTcpServer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_hasPendingConnections( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_incomingConnection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_isListening( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_listen( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_maxPendingConnections( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_nextPendingConnection__QTcpServer( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_nextPendingConnection( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_serverAddress( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_serverError( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_serverPort( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_setMaxPendingConnections( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_setSocketDescriptor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_socketDescriptor( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QTcpServer_waitForNewConnection( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QTcpServer_Meths[] = 
{
  { dao_QTcpServer_qobject_cast, "qobject_cast( object : QObject )=>QTcpServer" },
  { dao_QTcpServer_QTcpServer, "QTcpServer( parent : QObject|null=null )=>QTcpServer" },
  { dao_QTcpServer_addPendingConnection, "addPendingConnection( self : QTcpServer, socket : QTcpSocket )" },
  { dao_QTcpServer_close, "close( self : QTcpServer )" },
  { dao_QTcpServer_errorString, "errorString( self : QTcpServer )=>string" },
  { dao_QTcpServer_hasPendingConnections, "hasPendingConnections( self : QTcpServer )=>int" },
  { dao_QTcpServer_incomingConnection, "incomingConnection( self : QTcpServer, handle : int )" },
  { dao_QTcpServer_isListening, "isListening( self : QTcpServer )=>int" },
  { dao_QTcpServer_listen, "listen( self : QTcpServer, address : QHostAddress, port : int = 0 )=>int" },
  { dao_QTcpServer_maxPendingConnections, "maxPendingConnections( self : QTcpServer )=>int" },
  { dao_QTcpServer_nextPendingConnection, "nextPendingConnection( self : QTcpServer )=>QTcpSocket" },
  { dao_QTcpServer_serverAddress, "serverAddress( self : QTcpServer )=>QHostAddress" },
  { dao_QTcpServer_serverError, "serverError( self : QTcpServer )=>int" },
  { dao_QTcpServer_serverPort, "serverPort( self : QTcpServer )=>int" },
  { dao_QTcpServer_setMaxPendingConnections, "setMaxPendingConnections( self : QTcpServer, numConnections : int )" },
  { dao_QTcpServer_setSocketDescriptor, "setSocketDescriptor( self : QTcpServer, socketDescriptor : int )=>int" },
  { dao_QTcpServer_socketDescriptor, "socketDescriptor( self : QTcpServer )=>int" },
  { dao_QTcpServer_waitForNewConnection, "waitForNewConnection( self : QTcpServer, msec : int = 0, timedOut : int|null=null )=>int" },
  { NULL, NULL }
};
static void Dao_QTcpServer_Delete( void *self )
{
	delete (QTcpServer*) self;
}
void* dao_cast_QTcpServer_to_QObject( void *data )
{
	return (QObject*)(QTcpServer*)data;
}

static DaoTypeBase QTcpServer_Typer = 
{ "QTcpServer", NULL, 
  dao_QTcpServer_Nums,
  dao_QTcpServer_Meths, 
  { dao_QObject_Typer, 0 },
  { dao_cast_QTcpServer_to_QObject,0 },
  Dao_QTcpServer_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QTcpServer_Typer = & QTcpServer_Typer;
static void dao_QTcpServer_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QTcpServer *to2 = qobject_cast<QTcpServer*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QTcpServer_Typer );
}
/* qtcpserver.h */
static void dao_QTcpServer_QTcpServer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QTcpServer *_self = DaoCxx_QTcpServer_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qtcpserver.h */
static void dao_QTcpServer_addPendingConnection( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QTcpServer *self = (DaoCxx_QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  QTcpSocket* socket= (QTcpSocket*) DValue_CastCData( _p[1], dao_QTcpSocket_Typer );
  self->DaoWrap_addPendingConnection( socket );
}
/* qtcpserver.h */
static void dao_QTcpServer_close( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  self->QTcpServer::close(  );
}
/* qtcpserver.h */
static void dao_QTcpServer_errorString( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  QString _errorString = self->QTcpServer::errorString(  );
  DaoContext_PutMBString( _ctx, _errorString.toLocal8Bit().data() );
}
/* qtcpserver.h */
static void dao_QTcpServer_hasPendingConnections__QTcpServer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  bool _hasPendingConnections = self->QTcpServer::hasPendingConnections(  );
  DaoContext_PutInteger( _ctx, (int) _hasPendingConnections );
}
/* qtcpserver.h */
static void dao_QTcpServer_hasPendingConnections( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QTcpServer_hasPendingConnections__QTcpServer( _ctx, _p, _n );
    return;
  }
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  bool _hasPendingConnections = self->hasPendingConnections(  );
  DaoContext_PutInteger( _ctx, (int) _hasPendingConnections );
}
/* qtcpserver.h */
static void dao_QTcpServer_incomingConnection( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( _p[0]->t == DAO_CDATA && DaoCData_GetObject( _p[0]->v.cdata ) == NULL ){
    DaoContext_RaiseException( _ctx, DAO_ERROR, "call to protected method" );
    return;
  }
  DaoCxx_QTcpServer *self = (DaoCxx_QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  int handle= (int) _p[1]->v.i;
  self->DaoWrap_incomingConnection( handle );
}
/* qtcpserver.h */
static void dao_QTcpServer_isListening( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  bool _isListening = self->QTcpServer::isListening(  );
  DaoContext_PutInteger( _ctx, (int) _isListening );
}
/* qtcpserver.h */
static void dao_QTcpServer_listen( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  QHostAddress* address= (QHostAddress*) DValue_CastCData( _p[1], dao_QHostAddress_Typer );
  quint16 port= (quint16) _p[2]->v.i;
  bool _listen = self->QTcpServer::listen( *address, port );
  DaoContext_PutInteger( _ctx, (int) _listen );
}
/* qtcpserver.h */
static void dao_QTcpServer_maxPendingConnections( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  int _maxPendingConnections = self->QTcpServer::maxPendingConnections(  );
  DaoContext_PutInteger( _ctx, (int) _maxPendingConnections );
}
/* qtcpserver.h */
static void dao_QTcpServer_nextPendingConnection__QTcpServer( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  QTcpSocket* _nextPendingConnection = self->QTcpServer::nextPendingConnection(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _nextPendingConnection );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QTcpSocket_InitSS( (QTcpSocket*) _nextPendingConnection );
    DaoContext_WrapCData( _ctx, (void*) _nextPendingConnection, dao_QTcpSocket_Typer );
  }
}
/* qtcpserver.h */
static void dao_QTcpServer_nextPendingConnection( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QTcpServer_nextPendingConnection__QTcpServer( _ctx, _p, _n );
    return;
  }
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  QTcpSocket* _nextPendingConnection = self->nextPendingConnection(  );
  DaoBase *dbase = DaoQt_Get_Wrapper( _nextPendingConnection );
  if( dbase ){
    DaoContext_PutResult( _ctx, dbase );
  }else{
    Dao_QTcpSocket_InitSS( (QTcpSocket*) _nextPendingConnection );
    DaoContext_WrapCData( _ctx, (void*) _nextPendingConnection, dao_QTcpSocket_Typer );
  }
}
/* qtcpserver.h */
static void dao_QTcpServer_serverAddress( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  QHostAddress _serverAddress = self->QTcpServer::serverAddress(  );
  DaoContext_PutCData( _ctx, (void*)new QHostAddress( _serverAddress ), dao_QHostAddress_Typer );
}
/* qtcpserver.h */
static void dao_QTcpServer_serverError( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  QAbstractSocket::SocketError _serverError = self->QTcpServer::serverError(  );
  DaoContext_PutInteger( _ctx, (int) _serverError );
}
/* qtcpserver.h */
static void dao_QTcpServer_serverPort( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  quint16 _serverPort = self->QTcpServer::serverPort(  );
  DaoContext_PutInteger( _ctx, (int) _serverPort );
}
/* qtcpserver.h */
static void dao_QTcpServer_setMaxPendingConnections( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  int numConnections= (int) _p[1]->v.i;
  self->QTcpServer::setMaxPendingConnections( numConnections );
}
/* qtcpserver.h */
static void dao_QTcpServer_setSocketDescriptor( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  int socketDescriptor= (int) _p[1]->v.i;
  bool _setSocketDescriptor = self->QTcpServer::setSocketDescriptor( socketDescriptor );
  DaoContext_PutInteger( _ctx, (int) _setSocketDescriptor );
}
/* qtcpserver.h */
static void dao_QTcpServer_socketDescriptor( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  int _socketDescriptor = self->QTcpServer::socketDescriptor(  );
  DaoContext_PutInteger( _ctx, (int) _socketDescriptor );
}
/* qtcpserver.h */
static void dao_QTcpServer_waitForNewConnection( DaoContext *_ctx, DValue *_p[], int _n )
{
  QTcpServer* self= (QTcpServer*) DValue_CastCData( _p[0], dao_QTcpServer_Typer );
  int msec= (int) _p[1]->v.i;
  bool timedOut= (bool) _p[2]->v.i;
  bool _waitForNewConnection = self->QTcpServer::waitForNewConnection( msec, & timedOut );
  _p[2]->v.i = (int) timedOut;
  DaoContext_PutInteger( _ctx, (int) _waitForNewConnection );
}

/*  qtcpsocket.h */


static DaoNumItem dao_QTcpSocketPrivate_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QTcpSocketPrivate_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QTcpSocketPrivate_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QTcpSocketPrivate_Typer = 
{ "QTcpSocketPrivate", NULL, 
  dao_QTcpSocketPrivate_Nums,
  dao_QTcpSocketPrivate_Meths, 
  { 0 },
  { 0 },
  Dao_QTcpSocketPrivate_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QTcpSocketPrivate_Typer = & QTcpSocketPrivate_Typer;

/*  qudpsocket.h */


static DaoNumItem dao_QUdpSocket_Nums[] =
{
  { "DefaultForPlatform", DAO_INTEGER, QUdpSocket::DefaultForPlatform },
  { "ShareAddress", DAO_INTEGER, QUdpSocket::ShareAddress },
  { "DontShareAddress", DAO_INTEGER, QUdpSocket::DontShareAddress },
  { "ReuseAddressHint", DAO_INTEGER, QUdpSocket::ReuseAddressHint },
  { NULL, 0, 0 }
};
static void dao_QUdpSocket_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUdpSocket_QUdpSocket( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUdpSocket_bind( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUdpSocket_bind_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUdpSocket_bind_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUdpSocket_bind_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUdpSocket_hasPendingDatagrams( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUdpSocket_pendingDatagramSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUdpSocket_readDatagram( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUdpSocket_writeDatagram_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUdpSocket_writeDatagram( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QUdpSocket_Meths[] = 
{
  { dao_QUdpSocket_qobject_cast, "qobject_cast( object : QObject )=>QUdpSocket" },
  { dao_QUdpSocket_QUdpSocket, "QUdpSocket( parent : QObject|null=null )=>QUdpSocket" },
  { dao_QUdpSocket_bind, "bind( self : QUdpSocket, address : QHostAddress, port : int )=>int" },
  { dao_QUdpSocket_bind_dao_3, "bind( self : QUdpSocket, address : QHostAddress, port : int, mode : int )=>int" },
  { dao_QUdpSocket_bind_dao_2, "bind( self : QUdpSocket, port : int = 0 )=>int" },
  { dao_QUdpSocket_bind_dao_4, "bind( self : QUdpSocket, port : int, mode : int )=>int" },
  { dao_QUdpSocket_hasPendingDatagrams, "hasPendingDatagrams( self : QUdpSocket )=>int" },
  { dao_QUdpSocket_pendingDatagramSize, "pendingDatagramSize( self : QUdpSocket )=>double" },
  { dao_QUdpSocket_readDatagram, "readDatagram( self : QUdpSocket, data : string, maxlen : double, host : QHostAddress|null=null, port : int|null=null )=>double" },
  { dao_QUdpSocket_writeDatagram_dao_2, "writeDatagram( self : QUdpSocket, datagram : string, host : QHostAddress, port : int )=>double" },
  { dao_QUdpSocket_writeDatagram, "writeDatagram( self : QUdpSocket, data : string, len : double, host : QHostAddress, port : int )=>double" },
  { NULL, NULL }
};
static void Dao_QUdpSocket_Delete( void *self )
{
	delete (QUdpSocket*) self;
}
void* dao_cast_QUdpSocket_to_QAbstractSocket( void *data )
{
	return (QAbstractSocket*)(QUdpSocket*)data;
}

static DaoTypeBase QUdpSocket_Typer = 
{ "QUdpSocket", NULL, 
  dao_QUdpSocket_Nums,
  dao_QUdpSocket_Meths, 
  { dao_QAbstractSocket_Typer, 0 },
  { dao_cast_QUdpSocket_to_QAbstractSocket,0 },
  Dao_QUdpSocket_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QUdpSocket_Typer = & QUdpSocket_Typer;
static void dao_QUdpSocket_qobject_cast( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject *from = (QObject*)DValue_CastCData(_p[0], dao_QObject_Typer);
  DaoBase *to = DaoQt_Get_Wrapper( from );
  if( to ){
    DaoContext_PutResult( _ctx, to );
    return;
  }
  QUdpSocket *to2 = qobject_cast<QUdpSocket*>( from );
  DaoContext_WrapCData( _ctx, to2, dao_QUdpSocket_Typer );
}
/* qudpsocket.h */
static void dao_QUdpSocket_QUdpSocket( DaoContext *_ctx, DValue *_p[], int _n )
{
  QObject* parent= (QObject*) DValue_CastCData( _p[0], dao_QObject_Typer );
	DaoCxx_QUdpSocket *_self = DaoCxx_QUdpSocket_New( parent );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qudpsocket.h */
static void dao_QUdpSocket_bind( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUdpSocket* self= (QUdpSocket*) DValue_CastCData( _p[0], dao_QUdpSocket_Typer );
  QHostAddress* address= (QHostAddress*) DValue_CastCData( _p[1], dao_QHostAddress_Typer );
  quint16 port= (quint16) _p[2]->v.i;
  bool _bind = self->QUdpSocket::bind( *address, port );
  DaoContext_PutInteger( _ctx, (int) _bind );
}
/* qudpsocket.h */
static void dao_QUdpSocket_bind_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUdpSocket* self= (QUdpSocket*) DValue_CastCData( _p[0], dao_QUdpSocket_Typer );
  QHostAddress* address= (QHostAddress*) DValue_CastCData( _p[1], dao_QHostAddress_Typer );
  quint16 port= (quint16) _p[2]->v.i;
  QUdpSocket::BindMode mode= (QUdpSocket::BindMode) _p[3]->v.i;
  bool _bind = self->QUdpSocket::bind( *address, port, mode );
  DaoContext_PutInteger( _ctx, (int) _bind );
}
/* qudpsocket.h */
static void dao_QUdpSocket_bind_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUdpSocket* self= (QUdpSocket*) DValue_CastCData( _p[0], dao_QUdpSocket_Typer );
  quint16 port= (quint16) _p[1]->v.i;
  bool _bind = self->QUdpSocket::bind( port );
  DaoContext_PutInteger( _ctx, (int) _bind );
}
/* qudpsocket.h */
static void dao_QUdpSocket_bind_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUdpSocket* self= (QUdpSocket*) DValue_CastCData( _p[0], dao_QUdpSocket_Typer );
  quint16 port= (quint16) _p[1]->v.i;
  QUdpSocket::BindMode mode= (QUdpSocket::BindMode) _p[2]->v.i;
  bool _bind = self->QUdpSocket::bind( port, mode );
  DaoContext_PutInteger( _ctx, (int) _bind );
}
/* qudpsocket.h */
static void dao_QUdpSocket_hasPendingDatagrams( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUdpSocket* self= (QUdpSocket*) DValue_CastCData( _p[0], dao_QUdpSocket_Typer );
  bool _hasPendingDatagrams = self->QUdpSocket::hasPendingDatagrams(  );
  DaoContext_PutInteger( _ctx, (int) _hasPendingDatagrams );
}
/* qudpsocket.h */
static void dao_QUdpSocket_pendingDatagramSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUdpSocket* self= (QUdpSocket*) DValue_CastCData( _p[0], dao_QUdpSocket_Typer );
  qint64 _pendingDatagramSize = self->QUdpSocket::pendingDatagramSize(  );
  DaoContext_PutDouble( _ctx, (double) _pendingDatagramSize );
}
/* qudpsocket.h */
static void dao_QUdpSocket_readDatagram( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUdpSocket* self= (QUdpSocket*) DValue_CastCData( _p[0], dao_QUdpSocket_Typer );
  char* data= (char*) DValue_GetMBString( _p[1] );
  qint64 maxlen= (qint64) _p[2]->v.d;
  QHostAddress* host= (QHostAddress*) DValue_CastCData( _p[3], dao_QHostAddress_Typer );
  quint16 port= (quint16) _p[4]->v.i;
  qint64 _readDatagram = self->QUdpSocket::readDatagram( data, maxlen, host, & port );
  DString_SetMBS( _p[1]->v.s, (char*) data );
  _p[4]->v.i = (int) port;
  DaoContext_PutDouble( _ctx, (double) _readDatagram );
}
/* qudpsocket.h */
static void dao_QUdpSocket_writeDatagram_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUdpSocket* self= (QUdpSocket*) DValue_CastCData( _p[0], dao_QUdpSocket_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QByteArray datagram( _mbs1 );
  QHostAddress* host= (QHostAddress*) DValue_CastCData( _p[2], dao_QHostAddress_Typer );
  quint16 port= (quint16) _p[3]->v.i;
  qint64 _writeDatagram = self->QUdpSocket::writeDatagram( datagram, *host, port );
  DaoContext_PutDouble( _ctx, (double) _writeDatagram );
}
/* qudpsocket.h */
static void dao_QUdpSocket_writeDatagram( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUdpSocket* self= (QUdpSocket*) DValue_CastCData( _p[0], dao_QUdpSocket_Typer );
  char* data= (char*) DValue_GetMBString( _p[1] );
  qint64 len= (qint64) _p[2]->v.d;
  QHostAddress* host= (QHostAddress*) DValue_CastCData( _p[3], dao_QHostAddress_Typer );
  quint16 port= (quint16) _p[4]->v.i;
  qint64 _writeDatagram = self->QUdpSocket::writeDatagram( data, len, *host, port );
  DaoContext_PutDouble( _ctx, (double) _writeDatagram );
}

/*  qurlinfo.h */


static DaoNumItem dao_QUrlInfo_Nums[] =
{
  { "ReadOwner", DAO_INTEGER, QUrlInfo::ReadOwner },
  { "WriteOwner", DAO_INTEGER, QUrlInfo::WriteOwner },
  { "ExeOwner", DAO_INTEGER, QUrlInfo::ExeOwner },
  { "ReadGroup", DAO_INTEGER, QUrlInfo::ReadGroup },
  { "WriteGroup", DAO_INTEGER, QUrlInfo::WriteGroup },
  { "ExeGroup", DAO_INTEGER, QUrlInfo::ExeGroup },
  { "ReadOther", DAO_INTEGER, QUrlInfo::ReadOther },
  { "WriteOther", DAO_INTEGER, QUrlInfo::WriteOther },
  { "ExeOther", DAO_INTEGER, QUrlInfo::ExeOther },
  { NULL, 0, 0 }
};
static void dao_QUrlInfo_QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_QUrlInfo_dao_3( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_QUrlInfo_dao_4( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_QUrlInfo_dao_2( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_equal( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_greaterThan( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_group( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_isDir( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_isExecutable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_isFile( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_isReadable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_isSymLink( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_isValid( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_isWritable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_lastModified( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_lastRead( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_lessThan( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_name( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_owner( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_permissions( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setDir__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setDir( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setFile__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setFile( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setGroup__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setGroup( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setLastModified__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setLastModified( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setLastRead( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setName__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setName( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setOwner__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setOwner( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setPermissions__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setPermissions( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setReadable__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setReadable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setSize__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setSize( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setSymLink__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setSymLink( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setWritable__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_setWritable( DaoContext *_ctx, DValue *_p[], int _n );
static void dao_QUrlInfo_size( DaoContext *_ctx, DValue *_p[], int _n );

static DaoFuncItem dao_QUrlInfo_Meths[] = 
{
  { dao_QUrlInfo_QUrlInfo, "QUrlInfo(  )=>QUrlInfo" },
  { dao_QUrlInfo_QUrlInfo_dao_3, "QUrlInfo( name : string, permissions : int, owner : string, group : string, size : double, lastModified : QDateTime, lastRead : QDateTime, isDir : int, isFile : int, isSymLink : int, isWritable : int, isReadable : int, isExecutable : int )=>QUrlInfo" },
  { dao_QUrlInfo_QUrlInfo_dao_4, "QUrlInfo( url : QUrl, permissions : int, owner : string, group : string, size : double, lastModified : QDateTime, lastRead : QDateTime, isDir : int, isFile : int, isSymLink : int, isWritable : int, isReadable : int, isExecutable : int )=>QUrlInfo" },
  { dao_QUrlInfo_QUrlInfo_dao_2, "QUrlInfo( ui : QUrlInfo )=>QUrlInfo" },
  { dao_QUrlInfo_equal, "equal( i1 : QUrlInfo, i2 : QUrlInfo, sortBy : int )=>int" },
  { dao_QUrlInfo_greaterThan, "greaterThan( i1 : QUrlInfo, i2 : QUrlInfo, sortBy : int )=>int" },
  { dao_QUrlInfo_group, "group( self : QUrlInfo )=>string" },
  { dao_QUrlInfo_isDir, "isDir( self : QUrlInfo )=>int" },
  { dao_QUrlInfo_isExecutable, "isExecutable( self : QUrlInfo )=>int" },
  { dao_QUrlInfo_isFile, "isFile( self : QUrlInfo )=>int" },
  { dao_QUrlInfo_isReadable, "isReadable( self : QUrlInfo )=>int" },
  { dao_QUrlInfo_isSymLink, "isSymLink( self : QUrlInfo )=>int" },
  { dao_QUrlInfo_isValid, "isValid( self : QUrlInfo )=>int" },
  { dao_QUrlInfo_isWritable, "isWritable( self : QUrlInfo )=>int" },
  { dao_QUrlInfo_lastModified, "lastModified( self : QUrlInfo )=>QDateTime" },
  { dao_QUrlInfo_lastRead, "lastRead( self : QUrlInfo )=>QDateTime" },
  { dao_QUrlInfo_lessThan, "lessThan( i1 : QUrlInfo, i2 : QUrlInfo, sortBy : int )=>int" },
  { dao_QUrlInfo_name, "name( self : QUrlInfo )=>string" },
  { dao_QUrlInfo_owner, "owner( self : QUrlInfo )=>string" },
  { dao_QUrlInfo_permissions, "permissions( self : QUrlInfo )=>int" },
  { dao_QUrlInfo_setDir, "setDir( self : QUrlInfo, b : int )" },
  { dao_QUrlInfo_setFile, "setFile( self : QUrlInfo, b : int )" },
  { dao_QUrlInfo_setGroup, "setGroup( self : QUrlInfo, s : string )" },
  { dao_QUrlInfo_setLastModified, "setLastModified( self : QUrlInfo, dt : QDateTime )" },
  { dao_QUrlInfo_setLastRead, "setLastRead( self : QUrlInfo, dt : QDateTime )" },
  { dao_QUrlInfo_setName, "setName( self : QUrlInfo, name : string )" },
  { dao_QUrlInfo_setOwner, "setOwner( self : QUrlInfo, s : string )" },
  { dao_QUrlInfo_setPermissions, "setPermissions( self : QUrlInfo, p : int )" },
  { dao_QUrlInfo_setReadable, "setReadable( self : QUrlInfo, b : int )" },
  { dao_QUrlInfo_setSize, "setSize( self : QUrlInfo, size : double )" },
  { dao_QUrlInfo_setSymLink, "setSymLink( self : QUrlInfo, b : int )" },
  { dao_QUrlInfo_setWritable, "setWritable( self : QUrlInfo, b : int )" },
  { dao_QUrlInfo_size, "size( self : QUrlInfo )=>double" },
  { NULL, NULL }
};
static void Dao_QUrlInfo_Delete( void *self )
{
	delete (QUrlInfo*) self;
}

static DaoTypeBase QUrlInfo_Typer = 
{ "QUrlInfo", NULL, 
  dao_QUrlInfo_Nums,
  dao_QUrlInfo_Meths, 
  { 0 },
  { 0 },
  Dao_QUrlInfo_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QUrlInfo_Typer = & QUrlInfo_Typer;
/* qurlinfo.h */
static void dao_QUrlInfo_QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
	DaoCxx_QUrlInfo *_self = DaoCxx_QUrlInfo_New(  );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qurlinfo.h */
static void dao_QUrlInfo_QUrlInfo_dao_3( DaoContext *_ctx, DValue *_p[], int _n )
{
  char *_mbs0 = DValue_GetMBString( _p[0] );
  QString name( _mbs0 );
  int permissions= (int) _p[1]->v.i;
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString owner( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString group( _mbs3 );
  qint64 size= (qint64) _p[4]->v.d;
  QDateTime* lastModified= (QDateTime*) DValue_CastCData( _p[5], dao_QDateTime_Typer );
  QDateTime* lastRead= (QDateTime*) DValue_CastCData( _p[6], dao_QDateTime_Typer );
  bool isDir= (bool) _p[7]->v.i;
  bool isFile= (bool) _p[8]->v.i;
  bool isSymLink= (bool) _p[9]->v.i;
  bool isWritable= (bool) _p[10]->v.i;
  bool isReadable= (bool) _p[11]->v.i;
  bool isExecutable= (bool) _p[12]->v.i;
	DaoCxx_QUrlInfo *_self = DaoCxx_QUrlInfo_New( name, permissions, owner, group, size, *lastModified, *lastRead, isDir, isFile, isSymLink, isWritable, isReadable, isExecutable );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qurlinfo.h */
static void dao_QUrlInfo_QUrlInfo_dao_4( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrl* url= (QUrl*) DValue_CastCData( _p[0], dao_QUrl_Typer );
  int permissions= (int) _p[1]->v.i;
  char *_mbs2 = DValue_GetMBString( _p[2] );
  QString owner( _mbs2 );
  char *_mbs3 = DValue_GetMBString( _p[3] );
  QString group( _mbs3 );
  qint64 size= (qint64) _p[4]->v.d;
  QDateTime* lastModified= (QDateTime*) DValue_CastCData( _p[5], dao_QDateTime_Typer );
  QDateTime* lastRead= (QDateTime*) DValue_CastCData( _p[6], dao_QDateTime_Typer );
  bool isDir= (bool) _p[7]->v.i;
  bool isFile= (bool) _p[8]->v.i;
  bool isSymLink= (bool) _p[9]->v.i;
  bool isWritable= (bool) _p[10]->v.i;
  bool isReadable= (bool) _p[11]->v.i;
  bool isExecutable= (bool) _p[12]->v.i;
	DaoCxx_QUrlInfo *_self = DaoCxx_QUrlInfo_New( *url, permissions, owner, group, size, *lastModified, *lastRead, isDir, isFile, isSymLink, isWritable, isReadable, isExecutable );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qurlinfo.h */
static void dao_QUrlInfo_QUrlInfo_dao_2( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* ui= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
	DaoCxx_QUrlInfo *_self = DaoCxx_QUrlInfo_New( *ui );
	DaoContext_PutResult( _ctx, (DaoBase*) _self->cdata );
}
/* qurlinfo.h */
static void dao_QUrlInfo_equal( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* i1= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  QUrlInfo* i2= (QUrlInfo*) DValue_CastCData( _p[1], dao_QUrlInfo_Typer );
  int sortBy= (int) _p[2]->v.i;
  bool _equal = QUrlInfo::equal( *i1, *i2, sortBy );
  DaoContext_PutInteger( _ctx, (int) _equal );
}
/* qurlinfo.h */
static void dao_QUrlInfo_greaterThan( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* i1= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  QUrlInfo* i2= (QUrlInfo*) DValue_CastCData( _p[1], dao_QUrlInfo_Typer );
  int sortBy= (int) _p[2]->v.i;
  bool _greaterThan = QUrlInfo::greaterThan( *i1, *i2, sortBy );
  DaoContext_PutInteger( _ctx, (int) _greaterThan );
}
/* qurlinfo.h */
static void dao_QUrlInfo_group( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  QString _group = self->QUrlInfo::group(  );
  DaoContext_PutMBString( _ctx, _group.toLocal8Bit().data() );
}
/* qurlinfo.h */
static void dao_QUrlInfo_isDir( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool _isDir = self->QUrlInfo::isDir(  );
  DaoContext_PutInteger( _ctx, (int) _isDir );
}
/* qurlinfo.h */
static void dao_QUrlInfo_isExecutable( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool _isExecutable = self->QUrlInfo::isExecutable(  );
  DaoContext_PutInteger( _ctx, (int) _isExecutable );
}
/* qurlinfo.h */
static void dao_QUrlInfo_isFile( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool _isFile = self->QUrlInfo::isFile(  );
  DaoContext_PutInteger( _ctx, (int) _isFile );
}
/* qurlinfo.h */
static void dao_QUrlInfo_isReadable( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool _isReadable = self->QUrlInfo::isReadable(  );
  DaoContext_PutInteger( _ctx, (int) _isReadable );
}
/* qurlinfo.h */
static void dao_QUrlInfo_isSymLink( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool _isSymLink = self->QUrlInfo::isSymLink(  );
  DaoContext_PutInteger( _ctx, (int) _isSymLink );
}
/* qurlinfo.h */
static void dao_QUrlInfo_isValid( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool _isValid = self->QUrlInfo::isValid(  );
  DaoContext_PutInteger( _ctx, (int) _isValid );
}
/* qurlinfo.h */
static void dao_QUrlInfo_isWritable( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool _isWritable = self->QUrlInfo::isWritable(  );
  DaoContext_PutInteger( _ctx, (int) _isWritable );
}
/* qurlinfo.h */
static void dao_QUrlInfo_lastModified( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  QDateTime _lastModified = self->QUrlInfo::lastModified(  );
  DaoContext_PutCData( _ctx, (void*)new QDateTime( _lastModified ), dao_QDateTime_Typer );
}
/* qurlinfo.h */
static void dao_QUrlInfo_lastRead( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  QDateTime _lastRead = self->QUrlInfo::lastRead(  );
  DaoContext_PutCData( _ctx, (void*)new QDateTime( _lastRead ), dao_QDateTime_Typer );
}
/* qurlinfo.h */
static void dao_QUrlInfo_lessThan( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* i1= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  QUrlInfo* i2= (QUrlInfo*) DValue_CastCData( _p[1], dao_QUrlInfo_Typer );
  int sortBy= (int) _p[2]->v.i;
  bool _lessThan = QUrlInfo::lessThan( *i1, *i2, sortBy );
  DaoContext_PutInteger( _ctx, (int) _lessThan );
}
/* qurlinfo.h */
static void dao_QUrlInfo_name( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  QString _name = self->QUrlInfo::name(  );
  DaoContext_PutMBString( _ctx, _name.toLocal8Bit().data() );
}
/* qurlinfo.h */
static void dao_QUrlInfo_owner( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  QString _owner = self->QUrlInfo::owner(  );
  DaoContext_PutMBString( _ctx, _owner.toLocal8Bit().data() );
}
/* qurlinfo.h */
static void dao_QUrlInfo_permissions( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  int _permissions = self->QUrlInfo::permissions(  );
  DaoContext_PutInteger( _ctx, (int) _permissions );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setDir__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool b= (bool) _p[1]->v.i;
  self->QUrlInfo::setDir( b );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setDir( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QUrlInfo_setDir__QUrlInfo( _ctx, _p, _n );
    return;
  }
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool b= (bool) _p[1]->v.i;
  self->setDir( b );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setFile__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool b= (bool) _p[1]->v.i;
  self->QUrlInfo::setFile( b );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setFile( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QUrlInfo_setFile__QUrlInfo( _ctx, _p, _n );
    return;
  }
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool b= (bool) _p[1]->v.i;
  self->setFile( b );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setGroup__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString s( _mbs1 );
  self->QUrlInfo::setGroup( s );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setGroup( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QUrlInfo_setGroup__QUrlInfo( _ctx, _p, _n );
    return;
  }
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString s( _mbs1 );
  self->setGroup( s );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setLastModified__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  QDateTime* dt= (QDateTime*) DValue_CastCData( _p[1], dao_QDateTime_Typer );
  self->QUrlInfo::setLastModified( *dt );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setLastModified( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QUrlInfo_setLastModified__QUrlInfo( _ctx, _p, _n );
    return;
  }
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  QDateTime* dt= (QDateTime*) DValue_CastCData( _p[1], dao_QDateTime_Typer );
  self->setLastModified( *dt );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setLastRead( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  QDateTime* dt= (QDateTime*) DValue_CastCData( _p[1], dao_QDateTime_Typer );
  self->QUrlInfo::setLastRead( *dt );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setName__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  self->QUrlInfo::setName( name );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setName( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QUrlInfo_setName__QUrlInfo( _ctx, _p, _n );
    return;
  }
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString name( _mbs1 );
  self->setName( name );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setOwner__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString s( _mbs1 );
  self->QUrlInfo::setOwner( s );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setOwner( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QUrlInfo_setOwner__QUrlInfo( _ctx, _p, _n );
    return;
  }
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  char *_mbs1 = DValue_GetMBString( _p[1] );
  QString s( _mbs1 );
  self->setOwner( s );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setPermissions__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  int p= (int) _p[1]->v.i;
  self->QUrlInfo::setPermissions( p );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setPermissions( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QUrlInfo_setPermissions__QUrlInfo( _ctx, _p, _n );
    return;
  }
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  int p= (int) _p[1]->v.i;
  self->setPermissions( p );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setReadable__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool b= (bool) _p[1]->v.i;
  self->QUrlInfo::setReadable( b );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setReadable( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QUrlInfo_setReadable__QUrlInfo( _ctx, _p, _n );
    return;
  }
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool b= (bool) _p[1]->v.i;
  self->setReadable( b );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setSize__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  qint64 size= (qint64) _p[1]->v.d;
  self->QUrlInfo::setSize( size );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setSize( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QUrlInfo_setSize__QUrlInfo( _ctx, _p, _n );
    return;
  }
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  qint64 size= (qint64) _p[1]->v.d;
  self->setSize( size );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setSymLink__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool b= (bool) _p[1]->v.i;
  self->QUrlInfo::setSymLink( b );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setSymLink( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QUrlInfo_setSymLink__QUrlInfo( _ctx, _p, _n );
    return;
  }
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool b= (bool) _p[1]->v.i;
  self->setSymLink( b );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setWritable__QUrlInfo( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool b= (bool) _p[1]->v.i;
  self->QUrlInfo::setWritable( b );
}
/* qurlinfo.h */
static void dao_QUrlInfo_setWritable( DaoContext *_ctx, DValue *_p[], int _n )
{
  if( DaoCData_OwnData( _p[0]->v.cdata ) ){
    dao_QUrlInfo_setWritable__QUrlInfo( _ctx, _p, _n );
    return;
  }
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  bool b= (bool) _p[1]->v.i;
  self->setWritable( b );
}
/* qurlinfo.h */
static void dao_QUrlInfo_size( DaoContext *_ctx, DValue *_p[], int _n )
{
  QUrlInfo* self= (QUrlInfo*) DValue_CastCData( _p[0], dao_QUrlInfo_Typer );
  qint64 _size = self->QUrlInfo::size(  );
  DaoContext_PutDouble( _ctx, (double) _size );
}

/*  qauthenticator.h */


static DaoNumItem dao_QVariantHash_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_QVariantHash_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_QVariantHash_Delete( void *self )
{
	free( self );
}

static DaoTypeBase QVariantHash_Typer = 
{ "QVariantHash", NULL, 
  dao_QVariantHash_Nums,
  dao_QVariantHash_Meths, 
  { 0 },
  { 0 },
  Dao_QVariantHash_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_QVariantHash_Typer = & QVariantHash_Typer;

/*  qnetworkcookie.h */


static DaoNumItem dao_RawForm_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_RawForm_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_RawForm_Delete( void *self )
{
	free( self );
}

static DaoTypeBase RawForm_Typer = 
{ "RawForm", NULL, 
  dao_RawForm_Nums,
  dao_RawForm_Meths, 
  { 0 },
  { 0 },
  Dao_RawForm_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_RawForm_Typer = & RawForm_Typer;

/*  qabstractsocket.h */


static DaoNumItem dao_SocketError_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SocketError_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SocketError_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SocketError_Typer = 
{ "SocketError", NULL, 
  dao_SocketError_Nums,
  dao_SocketError_Meths, 
  { 0 },
  { 0 },
  Dao_SocketError_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_SocketError_Typer = & SocketError_Typer;

/*  qabstractsocket.h */


static DaoNumItem dao_SocketState_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SocketState_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SocketState_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SocketState_Typer = 
{ "SocketState", NULL, 
  dao_SocketState_Nums,
  dao_SocketState_Meths, 
  { 0 },
  { 0 },
  Dao_SocketState_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_SocketState_Typer = & SocketState_Typer;

/*  qabstractsocket.h */


static DaoNumItem dao_SocketType_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SocketType_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SocketType_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SocketType_Typer = 
{ "SocketType", NULL, 
  dao_SocketType_Nums,
  dao_SocketType_Meths, 
  { 0 },
  { 0 },
  Dao_SocketType_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_SocketType_Typer = & SocketType_Typer;

/*  qhostaddress.h */


static DaoNumItem dao_SpecialAddress_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SpecialAddress_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SpecialAddress_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SpecialAddress_Typer = 
{ "SpecialAddress", NULL, 
  dao_SpecialAddress_Nums,
  dao_SpecialAddress_Meths, 
  { 0 },
  { 0 },
  Dao_SpecialAddress_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_SpecialAddress_Typer = & SpecialAddress_Typer;

/*  qsslerror.h */


static DaoNumItem dao_SslError_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SslError_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SslError_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SslError_Typer = 
{ "SslError", NULL, 
  dao_SslError_Nums,
  dao_SslError_Meths, 
  { 0 },
  { 0 },
  Dao_SslError_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_SslError_Typer = & SslError_Typer;

/*  qsslsocket.h */


static DaoNumItem dao_SslMode_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SslMode_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SslMode_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SslMode_Typer = 
{ "SslMode", NULL, 
  dao_SslMode_Nums,
  dao_SslMode_Meths, 
  { 0 },
  { 0 },
  Dao_SslMode_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_SslMode_Typer = & SslMode_Typer;

/*  qsslcertificate.h */


static DaoNumItem dao_SubjectInfo_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_SubjectInfo_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_SubjectInfo_Delete( void *self )
{
	free( self );
}

static DaoTypeBase SubjectInfo_Typer = 
{ "SubjectInfo", NULL, 
  dao_SubjectInfo_Nums,
  dao_SubjectInfo_Meths, 
  { 0 },
  { 0 },
  Dao_SubjectInfo_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_SubjectInfo_Typer = & SubjectInfo_Typer;

/*  qftp.h */


static DaoNumItem dao_TransferMode_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_TransferMode_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_TransferMode_Delete( void *self )
{
	free( self );
}

static DaoTypeBase TransferMode_Typer = 
{ "TransferMode", NULL, 
  dao_TransferMode_Nums,
  dao_TransferMode_Meths, 
  { 0 },
  { 0 },
  Dao_TransferMode_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_TransferMode_Typer = & TransferMode_Typer;

/*  qftp.h */


static DaoNumItem dao_TransferType_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_TransferType_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_TransferType_Delete( void *self )
{
	free( self );
}

static DaoTypeBase TransferType_Typer = 
{ "TransferType", NULL, 
  dao_TransferType_Nums,
  dao_TransferType_Meths, 
  { 0 },
  { 0 },
  Dao_TransferType_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_TransferType_Typer = & TransferType_Typer;

/*  qsslcertificate.h */


static DaoNumItem dao_X509_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_X509_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_X509_Delete( void *self )
{
	free( self );
}

static DaoTypeBase X509_Typer = 
{ "X509", NULL, 
  dao_X509_Nums,
  dao_X509_Meths, 
  { 0 },
  { 0 },
  Dao_X509_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_X509_Typer = & X509_Typer;

/*  qlocalserver.h */


static DaoNumItem dao_quintptr_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_quintptr_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_quintptr_Delete( void *self )
{
	free( self );
}

static DaoTypeBase quintptr_Typer = 
{ "quintptr", NULL, 
  dao_quintptr_Nums,
  dao_quintptr_Meths, 
  { 0 },
  { 0 },
  Dao_quintptr_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_quintptr_Typer = & quintptr_Typer;

/*  qhostaddress.h */


static DaoNumItem dao_sockaddr_Nums[] =
{
  { NULL, 0, 0 }
};

static DaoFuncItem dao_sockaddr_Meths[] = 
{
  { NULL, NULL }
};
static void Dao_sockaddr_Delete( void *self )
{
	free( self );
}

static DaoTypeBase sockaddr_Typer = 
{ "sockaddr", NULL, 
  dao_sockaddr_Nums,
  dao_sockaddr_Meths, 
  { 0 },
  { 0 },
  Dao_sockaddr_Delete,
  NULL
};
DaoTypeBase DAO_DLL_QTNETWORK *dao_sockaddr_Typer = & sockaddr_Typer;

/*  qssl.h */

#ifdef __cplusplus
}
#endif

DaoTypeBase *dao_Q_IPV6ADDR_Typer = & QIPv6Address_Typer;
DaoTypeBase *dao_x509_st_Typer = & X509_Typer;
